Olá,
Eu alterei os códigos CSS ::before
background: none e adicionei background-image: url (…)
Mas quando redimensiono, não funciona como eu quero.
Como width: 60px e height: 60px ou max-width: 60px
Onde estou errando?
Olá,
Eu alterei os códigos CSS ::before
background: none e adicionei background-image: url (…)
Mas quando redimensiono, não funciona como eu quero.
Como width: 60px e height: 60px ou max-width: 60px
Onde estou errando?
Eu fiz ![]()
.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;
}