code-guide
code-guide copied to clipboard
Was just wondering what your policy was on #IDs
I notice in your source that they are kebab cased, but not mentionned in the guide. Cheers!
<h2 id="golden-rule">Golden rule</h2>
In general I lowercase-dash everything—classes, names, ids, etc. I don't label it anyone thing or another and mostly optimize for my own experience with it. Like double-clicking parts of a dashes word vs camelCase—such a nice and small utility to me. CamelCase just looks like gibberish to me even though we use some of in the Bootstrap docs. Makes me want to change it now haha.
Unsure if we should put this in the guide, but maybe.
I was wondering this too.
Maybe it should be in the guide...
Hello! Your E-mail has been recieved and I will respond you as soon as possible.Best wishes!