Hallo,
Ich habe die ::before CSS-Codes geändert:
background: none und ich habe background-image: url (…) hinzugefügt.
Aber wenn ich es in der Größe ändere, funktioniert es nicht so, wie ich es möchte.
Wie width: 60px und height: 60px oder max-width: 60px
Wo mache ich einen Fehler?
1 „Gefällt mir“
Ich habe 
.badge-category__wrapper .badge-category:before {
background: none;
border-radius: 2px;
margin-top: 4px;
width: 15px;
height: 15px;
min-width: 15px;
min-height: 15px;
background-image: url(IMG URL);
background-size: 15px 15px;
margin-right: .5em;
}
.badge-category__wrapper .badge-category.--has-parent:before {
background: none;
border-radius: 2px;
margin-top: 4px;
width: 15px;
height: 15px;
min-width: 15px;
min-height: 15px;
background-image: url(IMG URL);
background-size: 15px 15px;
margin-right: .5em;
}
1 „Gefällt mir“