3 ms·
It's 245kb and over 9000lines of CSS :-/ Is there a reason why it's double the size of other CSS Frameworks? Edit: Full disclosure - I develop Pure (purecss.io
by hobonumber1 13y ago
It's 245kb and over 9000lines of CSS :-/ Is there a reason why it's double the size of other CSS Frameworks?
Edit: Full disclosure - I develop Pure (purecss.io)
- ics 13y agoI was just about to link to Pure since it looks almost identical on the surface (and I just tried it out this morning for a prototype). For those wondering, Pure comes in at ~4kb.
- celwell 13y agoooo... pretty; thanks for developing Pure; looks useful.
- kurenn88 13y agoHi hobonumber, First of all I woukd like to say that your framework is one of the ones I like the most when developing mine... I know it's a big file but it is because it has a lot of comments, I have to work on the sass version to change the comments style...the minified version is close to 133 kb or so...but I definitely have to reduce it and make it lighter... Any piece of advice?
- hobonumber1 13y agoHey Kurenn, I would pay close attention to every CSS rule and really think about if it's needed or not. Also, try to follow some CSS principle such as OOCSS or SMACSS so that you reduce selector bloat. ie: ".tabbar-inner { ... }" is better than ".tabbar .inner { ... }"