3 ms·
I find it more readable up until the difference in key lengths becomes larger (font and text-decoration for example), at which point I have trouble matching the
by Macha 11y ago
I find it more readable up until the difference in key lengths becomes larger (font and text-decoration for example), at which point I have trouble matching the values with the shorter names.
- oneeyedpigeon 11y agoJust right-align your property names. I know that sounds ridiculous, but give it a go: body { font-size: 16px; margin-bottom: 100px; padding-top: 40px; color: rgb(100, 100, 100); background-color: rgb( 90, 255, 3); }
- Already__Taken 11y agoOh way better yes. I sometimes like to indent dependent properties too: body { width: 400px; margin: 20px; position: absolute; bottom: 0; right: 0; background: #ccc; }