February 9, 2023
556
views
CSS, a set of boundaries not hard rules
Don't rigidly define your CSS, let it flow
I was listening to the JS Party featuring Kevin Powell about Learning CSS in 2023, where he commented:
CSS is a set of boundaries, not hard rules
This sentence defines exactly what I've always thought about CSS, we build limits that the interface will follow, not rigid values of how it should be because we don't control the user's browser and many times we don't have control of the displayed content.
So make your CSS flow, not rigidly defined.