CSS tabs are hanging

I have a problem with CSS in Chrome. When I click the following tabs, the background image is not hiding.

I used :: after the code is like this.

.paymentBank ::after {
    content: " ";

}

[Here] [1] - real-time code. I prepared a screenshot.

enter image description here

enter image description here

+4
source share
1 answer

in your CSS change .payactiveAddress ::afterup to .payactiveAddress::after. You are currently applying a pseudo-class ::afterto each child in .payactiveAddress.

+4
source

Source: https://habr.com/ru/post/1620497/


All Articles