开发者

i want to draw image's border when i mouse over it (CSS)?

开发者 https://www.devze.com 2023-02-25 03:22 出处:网络
<img src=\"<?=$photo;?>\" width=\"235开发者_StackOverflow中文版\" height=\"154\" alt=\"<?=$name;?>\" />
<img src="<?=$photo;?>" width="235开发者_StackOverflow中文版" height="154" alt="<?=$name;?>" />

i want when the user mouse it over it draw a border of the image like facebook


Is this what you're looking for... http://jsfiddle.net/5mmhE/3/


CSS solution is to store link as a block and set it's background-image property in css and then add :hover to that link.

0

精彩评论

暂无评论...
验证码 换一张
取 消