Skip to content

Instantly share code, notes, and snippets.

@irishstu
Created April 11, 2012 09:26
Show Gist options
  • Save irishstu/2358222 to your computer and use it in GitHub Desktop.
Save irishstu/2358222 to your computer and use it in GitHub Desktop.
Responsive Zurb Reveal modals
/* Less than 480px */
@media screen and (max-width: 480px) {
.reveal-modal {
visibility: hidden;
top: 40px;
left: 0;
margin-left: 0;
width: 100%;
}
}
/* Less than 580px */
@media screen and (min-width: 481px) and (max-width: 580px) {
.reveal-modal {
visibility: hidden;
top: 40px;
left: 50%;
margin-left: -220px;
width: 440px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment