Twitter Bootstrap sideways caret

前端 未结 9 579
执念已碎
执念已碎 2021-01-31 03:09

I\'m using Twitter Bootstrap and some custom css (found here) to have dropdown menus open up on mouseover.

I am using the \"caret\" on a on the root menu items to show

9条回答
  •  遇见更好的自我
    2021-01-31 03:21

    I added a rotation class to the span

    HTML:

    
    

    CSS:

    .rotate270 {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    

    You can obviously create other angle classes as desired.

提交回复
热议问题