CSS3 transform not working

后端 未结 5 634
陌清茗
陌清茗 2020-11-29 20:25

I am trying to transform my menu items by rotating them 10 degrees. My CSS works in Firefox but I\'ve failed to replicate the effect in Chrome and Safari. I know IE doesn\'t

5条回答
  •  时光取名叫无心
    2020-11-29 20:37

    This is merely an educated guess without seeing the rest of your HTML/CSS:

    Have you applied display: block or display: inline-block to li a? If not, try it.

    Otherwise, try applying the CSS3 transform rules to li instead.

提交回复
热议问题