Skip to content

Instantly share code, notes, and snippets.

@lizardking8610
Last active May 31, 2017 02:42
Show Gist options
  • Save lizardking8610/8796fdd91b008474a7d3339731619abd to your computer and use it in GitHub Desktop.
Save lizardking8610/8796fdd91b008474a7d3339731619abd to your computer and use it in GitHub Desktop.
Ipad Media Queries
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
.largewhite br { content: ' '; }
}
@media only screen and (device-width: 768px) {
/* For general iPad layouts */
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
/* For portrait layouts only */
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
/* For landscape layouts only */
}
@lizardking8610
Copy link
Author

`@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {

.largewhite br { content: ' '; }

}` Fixes off center widget elements on ipad portrait that contain breakpoints for showcase pro

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