I make a fixed block for the menu.
.header-fixed { position: fixed z-index: 1000 background-color: #ffffff top: 0 } Question: how to position the unit in the center at any screen resolution?
I make a fixed block for the menu.
.header-fixed { position: fixed z-index: 1000 background-color: #ffffff top: 0 } Question: how to position the unit in the center at any screen resolution?
Source: https://ru.stackoverflow.com/questions/846826/
All Articles
left: 50%; transform: translateX(-50%);- Arthur