На андроиде кнопка работает с айфона - нет
На андроиде кнопка прожимается, но когда заходишь с айфона, то она стоит на месте.
Как сделать чтобы эффект нажатия работал и на айфоне?
.btn:link, .btn:visited {
position: relative;
display: inline-block;
overflow: hidden;
background-color: black;
border: 0.2rem solid #F8E31A;
border-radius: 3rem;
color: #F8E31A;
font-size: 1.6rem;
padding: 1rem;
width: 22rem;
height: 6rem;
display: flex;
-webkit-tap-highlight-color: transparent;
align-items: center;
justify-content: center;
flex-wrap: wrap;
transition: all;
text-align: center;
text-decoration: none;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: sans-serif;
letter-spacing: .3rem;
animation-name: departure;
animation-duration: 2s;
animation-delay: 6s;
animation-timing-function: ease linear;
backface-visibility: hidden;
animation-fill-mode: backwards;
animation-iteration-count: 1;
transition: all;
}
.btn:active {
transform: translateY(5px);
transition: all .3s;
}
<a class="right-wraper__btn btn btn_main" href="#">связаться!</a>
Источник: Stack Overflow на русском