Tweaking Bootstrap 2.0 for Semantic Markup

后端 未结 8 1669
耶瑟儿~
耶瑟儿~ 2020-12-14 16:15

Version 2 of Twitters \"Bootstrap\" UI framework was released today. While I find it very handy, I dislike how non-semantic it is.

I\'d rather avoid setting class

8条回答
  •  暖寄归人
    2020-12-14 17:05

    Less provides mixins, meaning that if you write your stylesheets in Less rather than CSS, you can include the Bootstrap classes in your stylesheet rather than in your HTML.

    Please stop embedding Bootstrap classes in your HTML!

提交回复
热议问题