-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
One of the reasons for the new properties sorting in our stylesheets it's to have a better semantics of the code.
Although with the SMACSS sorting we have a better ordering I think that the displayproperty might place it before the position property because if not the outcome it's a little weird having in mind the closeness of the display: flex property and align-items property for example.
So instead of having:
...
"display",
"visibility",
"position",
"z-index",
"top",
"right",
"bottom",
"left",
"box-sizing",
"grid",
"grid-after",
"grid-area",
...
I propose this:
...
"visibility",
"position",
"z-index",
"top",
"right",
"bottom",
"left",
"box-sizing",
"display",
"grid",
"grid-after",
"grid-area",
...
Let me know what you thing about this.