by mhartl · 14y ago · 0 comments
.error{ color:red; }
I much prefer .error { color: red; }
or .error {
color: red;
}
(The latter is particularly nice because it implicitly acknowledges the likelihood that additional rules will be added.)I don't recall seeing the space-compressed version much in the old days. Is it a new trend? I don't like it.
Here I can recognize 4 chunks almost immediately:
.error{ width:350px; height:200px; color:red; background:blue; }
While here everything gets mixed up due to its uniformed spacing: .error { width: 350px; height: 200px; color: red; background: blue; }