Open aaronkzhou opened 5 years ago
minimum css
.searchInput {
background-image: url('../../../images/search.svg');
background-repeat: no-repeat;
background-position: right 50%;
background-size: 20px 20px;
background-color: transparent;
border: 0;
caret-color: #777;
color: var(--white);
cursor: pointer;
font-family: "GothamRounded";
font-size: 0;
height: 28px;
outline: none;
width: 24px;
transition: width 0.25s;
display: flex;
padding-left: 26px;
&::placeholder {
color: var(--white);
opacity: 1;
}
}
related issue
https://github.com/postcss/autoprefixer/issues/1263
it happens when autoprefixinput::placeholder