There is a markup:
<div class="level-2"> <input type="text" placeholder="Откуда" class="from"> <input type="text" placeholder="Куда" class="where"> <input type="text" placeholder="Вес (кг)" class="weight"> <input type="text" placeholder="Объём (м3)" class="size"> <a href="#" class="button blue-btn">Рассчитать стоимость</a> </div> Her style:
.main .online-services .cost .level-2 > input { flex: 1 1 0; border-radius: 0px; margin-left: -0.5px; } The task inside the input is to add an icon, now I'm trying to make an implementation like this:
.main .online-services .cost .level-2 input::before { background: url(../image/icons/svg/024-pin.svg); width: 20px; height: 20px; right: 0; z-index: 999; content: '-'; } Unfortunately it does not work, please help.