[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...
Sep 17, 20214 min read68
![[CSS] 6 tricks to make your CSS file smaller](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1631904435997%2Fq_zlIU6oM.gif&w=3840&q=75)


![[CSS] ✨ 4 cool things you can do with box-shadow](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1631883770812%2FqAeQFz0e3F.png&w=3840&q=75)