4 ms·
https://google.github.io/styleguide/htmlcssguide.xml?showone=Property_Name_Stops#Property_Name_Stops https://google.github.io/styleguide/htmlcssguide.xml?showon
by johndoe4589 10y ago
https://google.github.io/styleguide/htmlcssguide.xml?showone=Property_Name_Stops#Property_Name_Stops https://google.github.io/styleguide/htmlcssguide.xml?showone...
How is adding a space after ":" any more consistent than having none? No space between property and value is more unique and searchable should you need to find something or do search/replace.
- detaro 10y agoThey are not saying that the space is more consistent than having none, just says that you always should use one style consistently (and that this specific style guide has chosen to add one space as the thing to do).