O
O
ohwoow2020-11-13 13:06:06
css
ohwoow, 2020-11-13 13:06:06

Why aren't burger button styles showing up in Safari?

Hello! Faced a problem with displaying burger button styles in Safari. That is, the button itself is clickable, it opens the menu, but the styles seem to have not been applied to it. What could be the problem? Below is the html and css code of the button

<button class="header__btn" aria-label="Открыть меню">
      <span></span>
      <span></span>
      <span></span>
</button>

&__btn {
position: absolute;
z-index: 3;
top: 51px;
right: 42px;
display: flex;
flex-direction: column;
justify-content: space-around;
width: 40px;
height: 40px;

span {
  display: block;
  transition: .2s;
  width: 100%;
  height: 4px;
  background-color: var(--color-orange);
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question