left: 50%; margin-left: -400px; /* Half of the width */

how to center a position fixed element horizontally

Similar Code Examples