Here is my problem,
I would like to reproduce the select with this shape...I thought I could do it by placing an :after because I wanted to insert the arrow in it as well as the skew effect. but it doesn't work at all. Do you have any other ideas for reproduction? Thanks
select {
appearance: none;
background: grey;
font-size: 12px;
font-weight: 700;
line-height: 12px;
letter-spacing: 1px;
border: 1px solid #fff;
border-right-width: 0;
/* height: 40px; */
width: 150px;
max-width: 100%;
padding: 10px 24px;
color: #f9faff;
}
select::after {
content: '';
display: block;
background: repeat: no-repeat;
size: 10px;
position: center center;
image: svg-load('#{$svg-path}/arrow-down.svg', fill=$color-secondary);
}
<select>
<option value="All" selected="selected">Tout</option>
<option value="15">2021</option>
<option value="16">2022</option>
</select>
