Skip to content

Id class value

Yanis Wang edited this page Oct 7, 2015 · 2 revisions

Rule ID: id-class-value

Id and class value must meet some rules: underline, dash, hump.

Level: warning


underline: <div id="aaa_bbb">
dash: <div id="aaa-bbb">
hump: <div id="aaaBbb">

config value:

  1. underline: underline mode ( aaa_bb )
  2. dash: enable rule ( aaa-bbb )
  3. hump: enable rule ( aaaBbb )
  4. false: disable rule
You can’t perform that action at this time.