You can specify a special style sheet for different media devices (such as screens and printers) through media properties, while CSS3 makes it more effective through media queries. You can add certain query conditions for media types to detect devices and use different style
Document directory
First Run
Overview
HTML code
CSS
Css3 media Query
Elastic Images
Elastically embedded video
Final Effect
Summary
Reprinted please specify original address: http://www.cnblogs.com/softlover/archive/2012/11/21/2781388.html
The screen resolution range is large, from 320px (iPhone) to 2560px (large display), or even greater. The user does not just use a desktop computer to access the web site. He uses mobile phones, laptop
Reprint please indicate original address: http://www.cnblogs.com/softlover/archive/2012/11/21/2781388.htmlThe screen resolution now ranges from 320px (IPhone) to 2560px (large display) and even larger. The user is not just using a desktop computer to access a Web site, he uses a mobile phone, a laptop, a Tablet PC. So the traditional set of Web site width is fixed value, has been unable to meet the need. The web design needs to adapt to this new requirement, and the page layout needs to be autom
as it is not adaptive.CSS3 Media Query (CSS3 media Query) medium queries script (media Queries Javascript)IE8 or lower versions do not support CSS3 media queries, but this is accomplis
Article Introduction: First of all, in the article "CSS3 Media Queries" to explore the CSS3 media types and media characteristics of the relevant applications.
First of all, in the article "CSS3 media Queries" to explo
Source: http://bbs.html5cn.org/forum.php? MoD = viewthread tid = 11516 extra =
The screen resolution range is large, from 320px (iPhone) to 2560px (large display), or even greater. The user does not just use a desktop computer to access the web site. He uses mobile phones, laptops, and tablets. Therefore, the traditional website width setting is fixed and cannot meet the requirements. The web design needs to adapt to this new requirement, and the page layout needs to be automatically adjusted
To introduce the media, specifically the CSS media queries, the media query contains a media type and at least one expression that restricts the range of the style sheet using media properties such as width, height, and color. CSS
Viewport setting adapts to mobile device screen sizeViewport: Allows developers to create a virtual window and customize its window size or zoom functionname= "Viewport" content= "width=device-width,initial-scale=1, User-scalable=0 "/>The content property in the code can be set up with the following 6 different parametersHow Media queries Works1, define the current screen viewable area of the maximum width
Viewpoint setting adapts to mobile device screen size(1) The main function of the viewpoint virtual window is to allow the developer to create a virtual window (viewpoint) and customize its window size and zoom capabilities.Mobile Safari Virtual window default size is 980 pixels, Android Browser default is 800 pixels, ie default is 974 pixels, opera is 850 pixels(2) Using viewpointdefined in the META element, its primary role is to set the Web page to fit the mobile device's screen size Content
Article Introduction: Create a CSS3 media Queries using the EM unit.
This site has a lot of relevant tutorials about CSS3 media queries, to say the least, is to use media queries to make Responsiv desgin. Now a popular
Media queries are used in responsive web Pages.1. Initialize the Settings:In the HTML file, insert a word in the top The phrase is to make an initialization setting for the responsive web page, which mainly includes:Name= "viewport": mark the display device as the viewport;width = device-width: widths equal to the width of the current device;Initial-scale: Initial zoom ratio (default = 1.0);Minimum-scale: t
From:http://www.lamp99.com/responsive-web-design-css3-media-queries.htmlCopied over the code a bit messy, is some style, too lazy to get.Start researching responsive web design, CSS3 Media queries is getting started. Media Queries, which allows you to apply different style s
Start to study responsive web design. css3 media queries is an entry.
Media queries allows you to add expressions to determine the media environment and apply different style sheets. In other words, it allows us to change the page layout without changing the content to pre
Start researching responsive web design, CSS3 Media queries is getting started.Media Queries, which allows you to apply different style sheets by allowing you to add expressions to determine the environment of your media. In other words, it allows us to change the layout of the page without changing the content to prec
Start researching responsive web design, CSS3 Media queries is getting started.Media Queries, which allows you to apply different style sheets by allowing you to add expressions to determine the environment of your media. In other words, it allows us to change the layout of the page without changing the content to prec
@media all and (min-width:840px)// screen application Rule @media (min-width:800px)//shorthand for all minimum horizontal screen widths of 800 pixels , ibid. @media ( min-width:800px) and (max-width:1200px) //all screens between 800px and 1200px apply Rule @media (min-width:800px) or (orentation: Portr
CSS references little-known media queries, and css references little-known
Media queries allow us to set appropriate styles based on various features of the device.
The following code is used:
Reference a similar table. Media attributes.
First, the
Start researching responsive web design, CSS3 Media queries is getting started.Media Queries, which allows you to apply different style sheets by allowing you to add expressions to determine the environment of your media. In other words, it allows us to change the layout of the page without changing the content to prec
Start researching responsive web design, CSS3 Media queries is getting started.Media Queries, which allows you to apply different style sheets by allowing you to add expressions to determine the environment of your media. In other words, it allows us to change the layout of the page without changing the content to prec
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.