Last active
December 14, 2015 05:25
-
-
Save Nikeshsuwal/aa4627c9347a325ce17c to your computer and use it in GitHub Desktop.
Make custom dropdown select design
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
.styled-select | |
select#society_scope name="society[scope]" | |
option value="" What is the scope of this society ? | |
option value="area" area | |
option value="neighbourhood" neighbourhood | |
option value="state" state | |
option value="country" country | |
option value="world" world |
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
.styled-select | |
width: 100% | |
overflow: hidden | |
border: 1px solid $input-border | |
background: #fff | |
position: relative | |
color: $input-color-placeholder | |
select | |
@extend .input-lg | |
width: 100% | |
background: transparent | |
border: none | |
line-height: 1 | |
-webkit-appearance: none | |
&:after | |
content: '\f0d7' | |
font-family: FontAwesome | |
right: 15px | |
top: 15px | |
position: absolute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment