Skip to content

Instantly share code, notes, and snippets.

@matthojo
Created March 24, 2014 17:36
Show Gist options
  • Save matthojo/9745135 to your computer and use it in GitHub Desktop.
Save matthojo/9745135 to your computer and use it in GitHub Desktop.
IE9 Select box hack
// Fix for IE9 not hiding select box arrow
.select-container
position relative
z-index 0
&:after
position absolute
right 1px
top 1px
content ''
display block
width 39px
height 52px
background-image url('/static/images/icons/dropdown.jpg')
background-position center right
background-repeat no-repeat
pointer-events none
-ms-touch-action none
z-index 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment