CSS Brace Styles
- by Nimbuz
I'm unable to figure how the standard (or just popular) brace style names apply to CSS. Here're all the brace styles:
/* one - pico? */
selector { property: value;
property: value; }
/* two */
selector {
property: value; /* declaration starts on newline */
property: value; }
/* three */
selector
{ property: value;
property: value;
}
/* four - Allman or GNU?*/
selector
{
property: value; /* declaration starts on newline */
property: value;
}?
/* five */
selector { property: value;
property: value;
}
/* six - horstmann? */
selector {
property: value; /* declaration starts on newline */
property: value;
}
/* seven - banner?*/
selector { property: value;
property: value;
}
/* eight */
selector {
property: value; /* declaration starts on newline */
property: value;
}
Can someone please name each brace style for me?
Many thanks!