Created
September 19, 2018 08:43
-
-
Save apisklov/686fe46037766b74f814caaeb8b22e8e to your computer and use it in GitHub Desktop.
Select appearance before and after
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&__select{ | |
position: relative; | |
select{ | |
font-family: $reg; | |
color: $black; | |
border: 1px solid #ccc; | |
padding: 6px 11px; | |
appearance: none; | |
padding-right: 28px; | |
} | |
&:before, | |
&:after{ | |
content: ''; | |
height: 1px; | |
width: 7px; | |
display: block; | |
position: absolute; | |
background: #ccc; | |
top: 15px; | |
} | |
&:before{ | |
transform: rotate(-45deg); | |
right: 10px; | |
} | |
&:after{ | |
transform: rotate(45deg); | |
right: 14px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment