Web design: CSS: can order of style parameters affect rendering?
Tutoring web design, you might be asked about centering. The tutor comments.
In my experience, if there’s an element I’m trying to center, the width and height parameters are best to appear before the position parameters (including transforms, if applicable).
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.