- , , HTML-. , , . , , . , , . (.select - , )
.selectButton {
display: block;
position: absolute;
height: 100%;
width: 20%;
max-width: 40px;
background: blue;
z-index: 12;
right: 0;
top: 0;
box-shadow: -24px 0px 30px rgba(255, 255, 255, 1);
}
, , , .
, , div - select , -: none; , , .
, , , , , . , , .
, !
!
css . psuedo , bg- z-, , , .
.styled-select {
width: 100%;
overflow: hidden;
background-repeat: no-repeat;
-webkit-background-size: 80% 80%;
background-size: 80% 80%;
height: 50px;
position: relative;
}
.style-select::before {
content: '';
display: block;
position: absolute;
right: 0;
background-color: $blue;
top: 50%;
transform: translateY(-50%);
width: 60px;
height: 100%;
background: url(../images/bg/down-arrow.jpg);
box-shadow: -24px 0px 30px rgba(255, 255, 255, 1);
pointer-events: none;
}