necolas / normalize.css

A modern alternative to CSS resets
http://necolas.github.io/normalize.css/
MIT License
52.32k stars 10.66k forks source link

Pseudoelement not rendered properly #853

Closed adityanichkawade closed 3 years ago

adityanichkawade commented 3 years ago

There seems to be problem with the pseudo-element as it is not getting rendered properly with normalize.css applied.

I have attached the screenshot.

Without normalize.css image

With normalize.css (not getting rendered properly) image

Following is the code snippet:

.accordion-button:after {
    content: "\25BA";
    font-size: 1rem;
    float: right;
}

.accordion-button-active:after {
    content: "\25BC";
}
<button class="accordion-button">
                    Accordion 1
 </button>
<button class="accordion-button accordion-button-active">
        Accordion 2
 </button>