[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](https://cdn.hashnode.com/res/hashnode/image/upload/v1631904435997/q_zlIU6oM.gif)


![[CSS] ✨ 4 cool things you can do with box-shadow](https://cdn.hashnode.com/res/hashnode/image/upload/v1631883770812/qAeQFz0e3F.png)