CSS class naming convention

前端 未结 4 558
梦如初夏
梦如初夏 2020-11-30 21:20

On a web page, there are two blocks of controls (primary and secondary), what class names would most people use?

Choice 1:

4条回答
  •  忘掉有多难
    2020-11-30 21:48

    Twitter uses SUIT CSS:

    https://github.com/suitcss/suit/blob/master/doc/README.md

    The same author also wrote Idiomatic CSS:

    https://github.com/necolas/idiomatic-css

提交回复
热议问题