Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Was just wondering what your policy was on #IDs #282

Open
blackspike opened this issue Oct 5, 2022 · 3 comments
Open

Was just wondering what your policy was on #IDs #282

blackspike opened this issue Oct 5, 2022 · 3 comments

Comments

@blackspike
Copy link

I notice in your source that they are kebab cased, but not mentionned in the guide. Cheers!

<h2 id="golden-rule">Golden rule</h2>

Repository owner deleted a comment from beMySun Oct 15, 2022
@mdo
Copy link
Owner

mdo commented Oct 15, 2022

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.

@vanillajonathan
Copy link
Contributor

I was wondering this too.

Maybe it should be in the guide...

@beMySun
Copy link

beMySun commented Feb 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants