Front-end style guide: Difference between revisions
Content deleted Content added
imported>Aldeka |
|||
Line 85:
You may want to put your submodules inside a <submodule-container> with a <clearer>, if you're floating them but don't want other content to ride up.
=== CSS ===
Name IDs and classes using hyphens, not underscores or camelcase. (e.g. "#front-page", not "#front_page" or "#frontPage"). CSS file names should use the same convention. (Not all of them do, but hopefully that can eventually be corrected.)
== JavaScript ==
|