Skip to content

Instantly share code, notes, and snippets.

@denyskoch
Created August 4, 2014 12:05
Show Gist options
  • Save denyskoch/dfeb04960f713e6cb22a to your computer and use it in GitHub Desktop.
Save denyskoch/dfeb04960f713e6cb22a to your computer and use it in GitHub Desktop.
Fix for not useable custom form selects on mobile/touch devices in Foundation 4. With this fix, the user has the native UI/UX for selects.
.touch form.custom select.hidden-field {
height: $custom-select-height;
margin-left: 0;
visibility: visible;
z-index: 20;
background: #fff;
padding: 0;
border: 0;
opacity: 0;
}
@denyskoch
Copy link
Author

@vroonster I think without JavaScript it would look ugly or not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment