开发者

Is it possible to create a twitter like 'reply' or 'retweet buttons that appear on hover only using CSS?

I'm trying to create some buttons like this

Is it possible to create a twitter like 'reply' or 'retweet buttons that appear on hover only using CSS?

;

They're inside a link with display block,开发者_开发技巧 and appear only on hover. How can i do this with css only?


I guess the easiest way would be something like:

#thing{
display:none;
}

#thing:hover{
display:block;
}

You could put on your fancy-pants and add some transitions to gussy it up but then you couldn't use display:none;

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜