开发者

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

<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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜