[TYPO3-dev] CSS Coding GuidLines

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Jun 2 08:47:28 CEST 2008


Steffen Kamper wrote:
> 1. use lower case for all selectors except named classes or id's that use 
> camelCase

I like tags in upper case: TABLE.className instead of table.className. Much easier to see tag.

> 2. use following formatting rules:
> 
> selector[SPACE]{
> [TAB]style:[SPACE]value;
> }
> [empty line]

.link {
	color: red
}

looks visually longer and slower to understand than

.link { color: red; }

-- 
Dmitry Dulepov
Learn more about TYPO3: http://typo3bloke.net/




More information about the TYPO3-dev mailing list