Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • HTML5 Responsive Design- media Queries Tutorial 1

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 29
    Comment on it

    Hello Friends,

    Today I am going to introduce some new things to achieve a good responsive behavior for web page. As we know that Today responsive layout design is mostly required. There are some CSS techniques which help us to get the exact result.

    Media Queries

    A media query is one of the elements of a media type that allow the style-sheets scope by using media features, like- width, height, color etc. Here are some types of media queries with example.

    - Dimension Type Media Queries

    Example

     @media screen and (width: 480px) { body { background-color:}

    - Device Oriented Type Media Queries

    Examples

      @media screen and (max-device-width: 799px) {  } 
      @media screen and (device-width: 800px) {  } 
      @media screen and (min-device-width: 801px) {  }
      @media screen and (device-aspect-ratio: 4/ 3) {  }
      @media screen and (min-aspect-ratio: 8/ 5) {  }
      @media screen and (orientation: portrait) {  }
    

    - Combining All Type Media Queries

    @media all and (orientation: landscape) and (min-width: 800em) {  }
    
    css media Queries Responsive Design Techniques HTML5 Responsive Design

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: