Jump to content

Front-end style guide: Difference between revisions

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 ==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.