• Resolved Simon Fairbairn

    (@simonfairbairn)


    Hi,

    I’m currently developing a WordPress theme and I’m trying to keep to the CSS coding standards. However, I’d like to use the Blueprint CSS framework, which often has up to 24 class declarations for 1 property.

    According to the standards, each comma-separated selector in a single block should be separated by a line break.

    How flexible are these standards? It seems to me to be a little bit crazy to transform this

    .grid-1, .grid-2, ... , .grid-24 {
       margin-right: 10px;
    }

    into this

    .grid-1,
    .grid-2,
    ...,
    .grid-24 {
        margin-right: 10px;
    }

    resulting in a much, much longer (and, in my opinion, more unmanageable) file.

    Any thoughts on this would be welcome.

    Thanks,

    Simon

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS coding standards and CSS frameworks’ is closed to new replies.