css - Formatting and load times -


i have been reading bit on compressed , uncompressed css files, haven't seen talk specific formatting in css file.

should group things this:

.class1, .class2, .class3, .... {     color: [color];     background: [image/color];     .... } 

or better keep them seperated, this:

.class1 {     color: [same color];     .... } .class2 {     color: [same color];     ....  } 

does affect load time in way? personal preference?


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -