S
S
Sergey Khlopov2021-11-14 19:34:59
stylus
Sergey Khlopov, 2021-11-14 19:34:59

How to ungroup specific selectors when building on prod?

Hello, tell me please. I have this code:

&__dropdown-box
        &:hover
            opacity 1
            visibility visible
        &:focus-within
            opacity 1
            visibility visible

When assembled on prod, the following code is obtained:
.menu__dropdown-box:focus-within,.menu__dropdown-box:hover {
    opacity: 1;
    visibility: visible
}

Because of this, hover does not work in IE, is it possible to do something so that these two selectors would not be grouped?
Thank you in advance for your response.

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