Skip to content

Instantly share code, notes, and snippets.

@Nikeshsuwal
Last active December 14, 2015 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nikeshsuwal/aa4627c9347a325ce17c to your computer and use it in GitHub Desktop.
Save Nikeshsuwal/aa4627c9347a325ce17c to your computer and use it in GitHub Desktop.
Make custom dropdown select design
.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
.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