Andrey (azangru) wrote,

would anyone
(especially anyone with at least some web dev experience)
use square brackets
— with spaces!!! —
in class names?

A space is an attribute separator. So each element with these square-bracketed classes acquires a class called "[" and a class called "]". Why would anyone do something so blasphemous?

(github link)

  • (no subject)

    Is it ... Bill Maher? Is he, in the penetrating eyes of this insightful lady, the emblem of white supremacy now? The comments to the tweet say it…

  • (no subject)

    Also, Google's documentation style guide. With the latest trends about the correct language, obvi. This one via HN.

  • (no subject)

    Google's document on how they build Chrome dev tools with web components. And yeah, it includes a special dance for some semblance of type safety,…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.