[CSS] 6 tricks to make your CSS file smaller
...without making it look weird or/and hard to read.
1. If it's 0, drop the units
Easy. If you're setting a margin, padding, box-shadow or anything like that, you can just put 0 instead 0px. 0 in CSS is always a zero.
The difference is usually 2 char...
blog.css-princess.com4 min read