Hola,
Cambié los códigos CSS de ::before
background: none y agregué background-image: url (…)
Pero cuando lo redimensiono, no funciona como quiero.
Como width: 60px y height: 60px o max-width: 60px
¿Dónde estoy cometiendo un error?
Hola,
Cambié los códigos CSS de ::before
background: none y agregué background-image: url (…)
Pero cuando lo redimensiono, no funciona como quiero.
Como width: 60px y height: 60px o max-width: 60px
¿Dónde estoy cometiendo un error?
Lo hice ![]()
.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;
}