SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Media Query
CSS CODE FOR DIFFERENT SCREEN AND DEVICE SIZES
What is @media query ?
 CSS media queries enable you to apply different CSS styles in your HTML
page depending on the device that shows the HTML page. More
specifically, media queries enable you to apply different styles depending
on the browser window width, device screen width, type of device,
aspect ratio and pixel ratio. In many cases it is enough to base your
media queries on the browser window width, though.
 For example:
 width and height (of the browser window)
 device width and height
 orientation – for example is a phone in landscape or portrait mode?
 Resolution
CSS Media Queries are a feature in CSS3 which allows you to specify when
certain CSS rules should be applied. This allows you to apply a special CSS for
mobile, or adjust a layout for print.
Example
Browsers that Support CSS Media Queries
 Firefox 3.5+
 Opera 9.5+
 Safari 3+
 Chrome
 Internet Explorer 9+
 Please note that Internet Explorer 8 and below do not support CSS
media queries. In those cases, you should use a JavaScript fallback.
Inserting Media Queries
 CSS media queries can be inserted in your HTML pages in the
following ways:
 Inserted into a <link> element which refers to a CSS style sheet.
 Inserted before an @import CSS instruction in CSS style sheet.
 Inserted inside a CSS style sheet.
 Targeting the iPhone
 <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="mobile.css" />
Example
 This example shows how to add media queries to a link element. Only if the
conditions in the media query is met is the CSS file applied to the HTML
document.
 <link rel="stylesheet" href="mycss.css" media="only screen and (max-width: 1200px)">
 This example shows how to import a CSS style sheet from within another CSS style
sheet. You can append a media query to the @import instruction. Only if the
conditions in the media query are met is the CSS file imported and applied.
 @import url('my-other-css.css') only screen and (max-width: 1200px);
 This example shows how to insert media queries directly into a CSS style sheet.
Only if the conditions in the media query are met are the CSS rules inside the
media query block applied.
 @media only screen and (max-width: 1200px) {
/* css rules */
}
CSS Syntax of @media property
 The syntax of a media query is the same no matter if you use it inside
a link element, after an @import instruction, or inside a CSS style
sheet. Media queries follow this syntax:
 [logic] [media] [and (condition)] [and (condition)] ...
 Logic : only, not
 The value only means that this media query only matches a certain media type
 The value not means that this media query matches all other than a certain media type
 Media : screen, projection, print
 Screen: Matches all computer screens. Both on desktop computers, laptops, tablets, smart
phones and TVs.
 Projection: Matches projection devices (projectors used in meeting rooms etc.).
 Matches when a user clicks "print" for the page.
 and (condition) : The [and (condition)] blocks set conditions for the screen. For instance,
you can use these properties inside a condition block:
 Width, min-width, max-width, height, min-height, max-height, device-width, min-device-width,
max-device-width, device-height, min-device-height, max-device-height, orientation, aspect-
ratio, device-aspect-ratio, -webkit-device-pixel-ratio, -webkit-max-device-pixel-ratio, -webkit-min-
device-pixel-ratio
 As you might have spotted, the condition properties fall into two groups:
 The first group is related to the width and height of the browser window.
 The second group is related to the width and height of the physical device screen.
min-height, max-height
 min-width / min-height
 The min-width and min-height properties accept unit values the exact same way that the
height and width properties do, so there’s no difference in the syntax. You can use any
acceptable unit, including pixels, ems, and percentages.
 max-width / max-height
 Like the “min” properties, max-width and max-height accept the usual unit values. But this
time, instead of a minimum size for an element, these properties set the maximum size.
 min-height is useful if you want to give an element layout in IE7
 If you have a fluid header or footer that doesn’t expand properly, can be fixed
with min-width
CSS max-height Property
 The max-height property is used to set the maximum height of an element. This
prevents the value of the height property from becoming larger than max-
height.
 Note: The value of the max-height property overrides height.
 max-height: none|length|initial|inherit;
 none No maximum height. This is default
 Length Defines the maximum height in px, cm, etc
 % Defines the maximum height in percent of the containing block
 initial Sets this property to its default value.
 inherit Inherits this property from its parent element.
CSS min-height Property
 The min-height property is used to set the minimum height of an
element. This prevents the value of the height property from becoming
smaller than min-height.
 Note: The value of the min-height property overrides both max-height
and height.
 min-height: length|initial|inherit;
 length Default value is 0. Defines the minimum height in px, cm, etc.
 % Defines the minimum height in percent of the containing block
 initial Sets this property to its default value
 Inherit Inherits this property from its parent element.
Usage of @media query
 This helps when you want different layout for different media types
such as a screen or a printer, but also when you want different
layout for different devices, which is very useful when making web
pages with responsive design.
 You can also have different layout when a user resizes the browser
window up or down to a certain width, or height.
Media Types and Media Features
 By using the @media rule, a website can have a different layout for
screen, print, mobile phone, tablet, etc.
 Media Types :
 Certain CSS properties are only designed for certain media. For example the "voice-
family" property is designed for aural user agents.
 Some other properties can be used for different media types. For example, the
"font-size" property can be used for both screen and print media, but perhaps with
different values.
 A document usually needs a larger font-size on a screen than on paper, and sans-
serif fonts are easier to read on the screen, while serif fonts are easier to read on
paper.
Available media types
 All : All devices listen to this
 Braille : Used for braille tactile feedback
devices.
 Embossed : Used for paged braille printers.
 Handheld : Used for handheld devices
(Smartphones and tablets do NOT listen to
this!).
 Print : Used for paged material and for
documents viewed on screen in print
preview mode.
 Projection : Used for projected
presentations, for example projectors.
 Screen : Used primarily for color computer
screens and smartphones.
 Speech : Used for speech synthesizers..
(Whatever that may be)
 Tty : Used for media using a fixed-pitch
character grid (such as teletypes, terminals,
or portable devices with limited display
capabilities).
 Tv : Used for television-type devices (low
resolution, color, limited-scrollability screens,
sound available).
Available expressions
 width : The width of the current
window
 height : The height of the current
window
 device-width : The width of the
device
 device-height : The height of the
device
 orientation : Either landscape or
portrait
 aspect-ratio : The aspect ratio of the
current window
 device-aspect-ratio : The aspect
ratio of the device
 color : The number of color bits per
color component
 color-index : The number of
available colors on the device
 monochrome : The number of bits
per pixel in a monochrome frame
buffer
 resolution : The resolution of the
device
 scan : Either progressive or interlace
 grid : Is the device grid-based?
Lets Do our self
MAKES YOUR MIND & HANDS BE PRODUCTIVE BY DOING MISTAKE.
Thank You
DON’T GET AFRAID, DECIDE WHAT YOU WANT AND THEN DRIVE.

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
 
CSS3 Media Queries And Creating Adaptive Layouts
CSS3 Media Queries And Creating Adaptive LayoutsCSS3 Media Queries And Creating Adaptive Layouts
CSS3 Media Queries And Creating Adaptive Layouts
 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
 
CSS Introduction
CSS IntroductionCSS Introduction
CSS Introduction
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Bootstrap ppt
Bootstrap pptBootstrap ppt
Bootstrap ppt
 
Bootstrap Part - 1
Bootstrap Part - 1Bootstrap Part - 1
Bootstrap Part - 1
 
Css position
Css positionCss position
Css position
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Css box-model
Css box-modelCss box-model
Css box-model
 
Intro to Flexbox - A Magical CSS Property
Intro to Flexbox - A Magical CSS PropertyIntro to Flexbox - A Magical CSS Property
Intro to Flexbox - A Magical CSS Property
 
CSS Best practice
CSS Best practiceCSS Best practice
CSS Best practice
 
Css3
Css3Css3
Css3
 
Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
 
An introduction to bootstrap
An introduction to bootstrapAn introduction to bootstrap
An introduction to bootstrap
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
Css pseudo-classes
Css pseudo-classesCss pseudo-classes
Css pseudo-classes
 
Css
CssCss
Css
 
Flex box
Flex boxFlex box
Flex box
 

Ähnlich wie Media queries A to Z

Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
Shawn Calvert
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
Nusrat Khanom
 
Responsive Web design _2013
Responsive Web design _2013 Responsive Web design _2013
Responsive Web design _2013
Suresh B
 
responsive web design
responsive web designresponsive web design
responsive web design
Suresh B
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktop
betabeers
 
How to Develop Responsive Websites - Website Development
How to Develop Responsive Websites - Website DevelopmentHow to Develop Responsive Websites - Website Development
How to Develop Responsive Websites - Website Development
Mukesoft - IT Consultants
 

Ähnlich wie Media queries A to Z (20)

Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
 
Responsive Web design _2013
Responsive Web design _2013 Responsive Web design _2013
Responsive Web design _2013
 
responsive web design 1_oct_2013
responsive web design  1_oct_2013 responsive web design  1_oct_2013
responsive web design 1_oct_2013
 
Rwd ppt
Rwd pptRwd ppt
Rwd ppt
 
responsive web design
responsive web designresponsive web design
responsive web design
 
Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktop
 
CSS.pptx
CSS.pptxCSS.pptx
CSS.pptx
 
Going Responsive with WordPress
Going Responsive with WordPressGoing Responsive with WordPress
Going Responsive with WordPress
 
Media Query
Media QueryMedia Query
Media Query
 
Lab#13 responsive web
Lab#13 responsive webLab#13 responsive web
Lab#13 responsive web
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Responsive Web Design & APEX Theme 25
Responsive Web Design & APEX Theme 25Responsive Web Design & APEX Theme 25
Responsive Web Design & APEX Theme 25
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
How to Develop Responsive Websites - Website Development
How to Develop Responsive Websites - Website DevelopmentHow to Develop Responsive Websites - Website Development
How to Develop Responsive Websites - Website Development
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
 
CSS
CSSCSS
CSS
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Media queries A to Z

  • 1. Media Query CSS CODE FOR DIFFERENT SCREEN AND DEVICE SIZES
  • 2. What is @media query ?  CSS media queries enable you to apply different CSS styles in your HTML page depending on the device that shows the HTML page. More specifically, media queries enable you to apply different styles depending on the browser window width, device screen width, type of device, aspect ratio and pixel ratio. In many cases it is enough to base your media queries on the browser window width, though.  For example:  width and height (of the browser window)  device width and height  orientation – for example is a phone in landscape or portrait mode?  Resolution CSS Media Queries are a feature in CSS3 which allows you to specify when certain CSS rules should be applied. This allows you to apply a special CSS for mobile, or adjust a layout for print.
  • 4. Browsers that Support CSS Media Queries  Firefox 3.5+  Opera 9.5+  Safari 3+  Chrome  Internet Explorer 9+  Please note that Internet Explorer 8 and below do not support CSS media queries. In those cases, you should use a JavaScript fallback.
  • 5. Inserting Media Queries  CSS media queries can be inserted in your HTML pages in the following ways:  Inserted into a <link> element which refers to a CSS style sheet.  Inserted before an @import CSS instruction in CSS style sheet.  Inserted inside a CSS style sheet.  Targeting the iPhone  <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="mobile.css" />
  • 6. Example  This example shows how to add media queries to a link element. Only if the conditions in the media query is met is the CSS file applied to the HTML document.  <link rel="stylesheet" href="mycss.css" media="only screen and (max-width: 1200px)">  This example shows how to import a CSS style sheet from within another CSS style sheet. You can append a media query to the @import instruction. Only if the conditions in the media query are met is the CSS file imported and applied.  @import url('my-other-css.css') only screen and (max-width: 1200px);  This example shows how to insert media queries directly into a CSS style sheet. Only if the conditions in the media query are met are the CSS rules inside the media query block applied.  @media only screen and (max-width: 1200px) { /* css rules */ }
  • 7. CSS Syntax of @media property  The syntax of a media query is the same no matter if you use it inside a link element, after an @import instruction, or inside a CSS style sheet. Media queries follow this syntax:  [logic] [media] [and (condition)] [and (condition)] ...
  • 8.  Logic : only, not  The value only means that this media query only matches a certain media type  The value not means that this media query matches all other than a certain media type  Media : screen, projection, print  Screen: Matches all computer screens. Both on desktop computers, laptops, tablets, smart phones and TVs.  Projection: Matches projection devices (projectors used in meeting rooms etc.).  Matches when a user clicks "print" for the page.  and (condition) : The [and (condition)] blocks set conditions for the screen. For instance, you can use these properties inside a condition block:  Width, min-width, max-width, height, min-height, max-height, device-width, min-device-width, max-device-width, device-height, min-device-height, max-device-height, orientation, aspect- ratio, device-aspect-ratio, -webkit-device-pixel-ratio, -webkit-max-device-pixel-ratio, -webkit-min- device-pixel-ratio  As you might have spotted, the condition properties fall into two groups:  The first group is related to the width and height of the browser window.  The second group is related to the width and height of the physical device screen.
  • 9. min-height, max-height  min-width / min-height  The min-width and min-height properties accept unit values the exact same way that the height and width properties do, so there’s no difference in the syntax. You can use any acceptable unit, including pixels, ems, and percentages.  max-width / max-height  Like the “min” properties, max-width and max-height accept the usual unit values. But this time, instead of a minimum size for an element, these properties set the maximum size.  min-height is useful if you want to give an element layout in IE7  If you have a fluid header or footer that doesn’t expand properly, can be fixed with min-width
  • 10. CSS max-height Property  The max-height property is used to set the maximum height of an element. This prevents the value of the height property from becoming larger than max- height.  Note: The value of the max-height property overrides height.  max-height: none|length|initial|inherit;  none No maximum height. This is default  Length Defines the maximum height in px, cm, etc  % Defines the maximum height in percent of the containing block  initial Sets this property to its default value.  inherit Inherits this property from its parent element.
  • 11. CSS min-height Property  The min-height property is used to set the minimum height of an element. This prevents the value of the height property from becoming smaller than min-height.  Note: The value of the min-height property overrides both max-height and height.  min-height: length|initial|inherit;  length Default value is 0. Defines the minimum height in px, cm, etc.  % Defines the minimum height in percent of the containing block  initial Sets this property to its default value  Inherit Inherits this property from its parent element.
  • 12. Usage of @media query  This helps when you want different layout for different media types such as a screen or a printer, but also when you want different layout for different devices, which is very useful when making web pages with responsive design.  You can also have different layout when a user resizes the browser window up or down to a certain width, or height.
  • 13. Media Types and Media Features  By using the @media rule, a website can have a different layout for screen, print, mobile phone, tablet, etc.  Media Types :  Certain CSS properties are only designed for certain media. For example the "voice- family" property is designed for aural user agents.  Some other properties can be used for different media types. For example, the "font-size" property can be used for both screen and print media, but perhaps with different values.  A document usually needs a larger font-size on a screen than on paper, and sans- serif fonts are easier to read on the screen, while serif fonts are easier to read on paper.
  • 14. Available media types  All : All devices listen to this  Braille : Used for braille tactile feedback devices.  Embossed : Used for paged braille printers.  Handheld : Used for handheld devices (Smartphones and tablets do NOT listen to this!).  Print : Used for paged material and for documents viewed on screen in print preview mode.  Projection : Used for projected presentations, for example projectors.  Screen : Used primarily for color computer screens and smartphones.  Speech : Used for speech synthesizers.. (Whatever that may be)  Tty : Used for media using a fixed-pitch character grid (such as teletypes, terminals, or portable devices with limited display capabilities).  Tv : Used for television-type devices (low resolution, color, limited-scrollability screens, sound available).
  • 15. Available expressions  width : The width of the current window  height : The height of the current window  device-width : The width of the device  device-height : The height of the device  orientation : Either landscape or portrait  aspect-ratio : The aspect ratio of the current window  device-aspect-ratio : The aspect ratio of the device  color : The number of color bits per color component  color-index : The number of available colors on the device  monochrome : The number of bits per pixel in a monochrome frame buffer  resolution : The resolution of the device  scan : Either progressive or interlace  grid : Is the device grid-based?
  • 16. Lets Do our self MAKES YOUR MIND & HANDS BE PRODUCTIVE BY DOING MISTAKE.
  • 17. Thank You DON’T GET AFRAID, DECIDE WHAT YOU WANT AND THEN DRIVE.