Rotating Glyphicons / Font Awesome in Bootstrap

前端 未结 5 1357
星月不相逢
星月不相逢 2021-02-07 05:19

I\'m trying to get the glyphicons in my bootstrap site to rotate on hover (in addition to changing color).

Here\'s my attempt: http://jsfiddle.net/young_greedo17/88g5P/<

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-07 05:54

    In your particular case the issue is that the icons you are using have display: inline-block, I added display:block to the custom CSS and it now works.

提交回复
热议问题