Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

bootsrap view only landscape

@media (orientation:landscape) {
    .hide-on-landscape {
        display: none;
    }
}

@media (orientation:portrait) {
    .hide-on-portrait {
        display: none;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bootsrap #view #landscape
ADD COMMENT
Topic
Name
8+6 =