which of the following styles center a fixed element horizontally code example
Example 1: keeping elements of container in center
.container {
margin : 0 auto;
}
Example 2: how to center a position fixed element horizontally
left: 50%;
margin-left: -400px; /* Half of the width */