Marx - A classless CSS framework (perfect for communists) (mblode.github.io)
almost 8 years ago from Matthew Blode, Designer & Front-end Developer
almost 8 years ago from Matthew Blode, Designer & Front-end Developer
:root { font-family: 'Open Sans', ...; }
no.
At least it's not Raleway.
I laughed.
This is the first time I actually laughed from just reading the title on DN.
Similar to its namesake, it makes for interesting reading, but will prove difficult to implement in the real world.
ha, good one
This is an absolutely terrible way to apply CSS. Using element selectors for everything is a one-way ticket to specificity hell.
Yea, I totally agree, but I can see this being pretty awesome for quickly throwing together a wireframe. I've thought about creating something like this for myself when I exploring different structure and page transitions.
:focus { outline: 0; }
¯_(ツ)_/¯ what is accessibility
What happened to your left arm?
Here, take this: \
I feel like my CSS is so bourgeois...
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.
People are hating on it a little but it's clearly for short throwaway projects or as a good starter base, like Skeleton:
Except it's not a good starter base as it's got lots of styling that you will never need unless you want every <aside>
to look like the CSS provided or you don't mind having to remove or override the CSS.
Best title.
Internet for the proletariat!
document.getElementsByClassname()? :(
This is a goldmine for puns. I once toyed with a similar project called dayoff.css with the tagline: no classes. Well that name was all I had really. I like Marx even better.
h1 { border-bottom: 1px solid rgba(0, 0, 0, 0.2); } footer { border-top: .1rem solid rgba(0, 0, 0, 0.2); }
Don't want to be a hater but this is definitely not a reset.
I'm still not quite sure what to call it. It's a classless css framework, a reset, boilerplate css and a stylesheet for small projects. Maybe you guys could help think of a description.
Is this serious or?
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now