Pavel Sidorov2021-10-04 22:18:50
Pavel Sidorov, 2021-10-04 22:18:50

:after Not displayed, safari, on iPhones?

such a problem: in safari, pseudo-elements are not displayed correctly, they are shifted to the side. position is specified, in other browsers everything is fine.

.bx_act_detail {
    position: relative;
.bx_act_detail > span:after {
    position: absolute;
    transform: rotate(
    content: "";
    border-width: 0 0 2px 2px!important;
    height: 5px;
    width: 8px;
    margin: 8px 0 0 -4px;
    border: solid #c5a995;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Ankhena, 2021-10-04

We need to set the top, left, etc. coordinates so that the browser knows where to position the pseudo-element.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question