Marx - A classless CSS framework (perfect for communists)(

over 6 years ago from Matthew Blode, Designer & Front-end Developer

  • David DarnesDavid Darnes, over 6 years ago

    I could really easily be blunt in my reply to this idea, but I thought it'd be best to be constructive as possible:

    Firstly, this method will cause browser bugs. I just know it will because I've tried. The HTML5 Shiv does add support for newer elements but it doesn't fix the use of them in the CSS. I know browsers have moved on, but this is risky and there is bound to be something that doesn't support certain part of a certain HTML5 element.

    Secondly, validation and micro data. For example, expecting a developer to only use the article element when adding a 60% width block of content is a bad assumption. The article element could be anything, the only requirements are that it's a self contained piece of content and that it has a heading.

    Lastly, naming conventions. If a contributor wants to get to grips with your project they're going to have a real hard time figuring out what does what if nothing has a class applied to it. Classes not only help us target elements in CSS, but they also let us give clear and concise names to them.

    I really think this would be suited better as a tool to normalise elements across browsers, however we do have a lot of those :/

    Sorry for the long comment and I hope this doesn't come across in a bitter tone.

    2 points