Re:EditorConfig
by Macha on Monday November 09, 2015 @02:27PM
(#10535191)
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.
[ Parent
| on HN ]
Re:EditorConfig
by oneeyedpigeon on Monday November 09, 2015 @07:27PM
(#10536836)
Just 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);
}
Re:EditorConfig
by Already__Taken on Tuesday November 10, 2015 @03:34AM
(#10538169)
Oh way better yes. I sometimes like to indent dependent properties too:
body {
width: 400px;
margin: 20px;
position: absolute;
bottom: 0;
right: 0;
background: #ccc;
}