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
insetproperty, 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.