这是我的插件
http://plnkr.co/edit/BVhFiVYXWQ3AuflEWjCP?p=preview
我想在访问链接后对锚标记内的图像应用边框。
<a href="">
<img src="some imageurl" style="height:100px; width:100px;"/>
<p>Description </p>
</a>
答案 0 :(得分:0)
<a href="" style="border:1px solid red;">
<img src="some imageurl" style="height:100px; width:100px;"/>
<p>Description </p>
</a>
答案 1 :(得分:0)
SWRevealViewcontroller
&#13;
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *vc = [mainStoryboard instantiateViewControllerWithIdentifier:@"navContStoryboardID"];
[vc setModalPresentationStyle:UIModalPresentationCustom]; // optional
[vc setModalTransitionStyle:UIModalTransitionStyleCrossDissolve]; // optional
[self presentViewController:vc animated:YES completion:nil];
&#13;
答案 2 :(得分:0)
a:visited img {
border:3px solid red;
}