I'm a web developer, graphic designer, type designer, musician, comicbook-geek, LEGO-collector, food lover … as well as husband and father, located just south of Copenhagen, Denmark.
I used to group my CSS in a similar way, but as more and more properties were introduced, I switched to alphabetic sorting, and have never looked back! By the way, the position example can use the new inset property, to set all 4 sides with a single value:
I used to group my CSS in a similar way, but as more and more properties were introduced, I switched to alphabetic sorting, and have never looked back! By the way, the position example can use the new
inset
property, to set all 4 sides with a single value:Alphabetic sorting for the win!
But, in the few cases where alphabetic sorting can't be done because the order is important... please comment the code!
@madsstoumann yess! inset is an awesome property, I saved that one to another post along with other properties that saves time and are awesome.