Re:Sass Guidelines
by Bognar on Tuesday January 06, 2015 @04:35PM
(#8847289)
Seconding this. Leading zeros are important for decimals because it is extremely easy to miss a single dot. This is less of an issue in the world of fixed width fonts, but I don't really think that's a valid excuse to buck the trend of every other engineering field.
[ Parent
| on HN ]
Re:Sass Guidelines
by HugoGiraudel on Tuesday January 06, 2015 @05:27PM
(#8847528)
It has been updated.
You still have it here:
// Yep
.element {
color: rgba(0, 0, 0, .1);
background: hsl(300, 100%, 100%);
}
// Nope
.element {
color: rgba(0,0,0,.1);
background: hsl( 300, 100%, 100% );
}
Re:Sass Guidelines
by HugoGiraudel on Wednesday January 07, 2015 @03:15AM
(#8849402)
Fixed, thank you very much. :)
Re:Sass Guidelines
by kendallpark on Tuesday January 06, 2015 @05:42PM
(#8847603)
Well done!