.header{ position: sticky; top: 0; left: 0; z-index: 102; width: 100%; background: rgb(21 , 21, 21); pointer-events: auto; } .header__inner{ position: relative; height: 106px; padding: 12px 20px; }