twitter-bootstrap: how to get rid of underlined button text when hovering over a btn-group within an -tag?

前端 未结 13 2733
有刺的猬
有刺的猬 2020-12-15 02:33

Using the markup below, the button text is underlined when hovered over. How can I get rid of that behavior?

Is there a better way to add links to a btn-group in boo

13条回答
  •  旧巷少年郎
    2020-12-15 02:54

    { text-decoration: none !important}


    EDIT 1:

    For you example only a{text-decoration: none} will works

    You can use a class not to interfere with the default behaviour of tags.

    
      

    CSS:

    .nounderline {
      text-decoration: none !important
    }
    

提交回复
热议问题