Search
 
SCRIPT & CODE EXAMPLE
 

CSS

orientation css max and min width media query

<style type="text/css">
    /* default styles here for older browsers. 
       I tend to go for a 600px - 960px width max but using percentages
    */
    @media only screen and (min-width: 960px) {
        /* styles for browsers larger than 960px; */
    }
    @media only screen and (min-width: 1440px) {
        /* styles for browsers larger than 1440px; */
    }
    @media only screen and (min-width: 2000px) {
        /* for sumo sized (mac) screens */
    }
    @media only screen and (max-device-width: 480px) {
       /* styles for mobile browsers smaller than 480px; (iPhone) */
    }
    @media only screen and (device-width: 768px) {
       /* default iPad screens */
    }
    /* different techniques for iPad screening */
    @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 */
    }
</style>
Comment

PREVIOUS NEXT
Code Example
Css :: relier css html 
Css :: text decoration underline not removing 
Css :: how to make border around text in html 
Css :: @keyframes 
Css :: input outline focus 
Css :: rotate element css 
Css :: video camera icon font awesome 
Css :: css blink animation 
Css :: change angular material icon color 
Css :: css for bigger screen size 
Css :: vertical hr 
Css :: how to remove text highlight on double click 
Css :: css border radius not working 
Css :: css font family narrow fonts 
Css :: change placeholder color 
Css :: datatables width 100% not working 
Css :: black gradient background effect 
Css :: overflow x not hidden 
Css :: box shadow css 
Css :: radial gradient css 
Css :: jest test try catch 
Css :: purgecss cli 
Css :: disabled checkbox css 
Css :: comment css 
Css :: css prevent background scrolling 
Css :: how to hange the color of your cursor in css 
Css :: css outline width 
Css :: background image path 
Css :: multiple radial gradient css 
Css :: css border-left 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =