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 in CSS is always a zero.
The difference is usually 2 characters.continue reading