Nowadays, more mobile phones and tablets are being asked every day. Consumers have the ability to imagine a variety of specifications and shapes, but web developers face a challenge: how to make their websites look good on traditional browsers, mobile phones, and tablet browsers, and how to provide a first-class user experience on screens of all sizes, the answer is: responsive design . Responsive design ca
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
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
media query.
on response-type design
The biggest use of media inquiries now is responsive design, which is also because of the recent reflection on the efficiency of responsive design. With these test results, when implementing a Web site that responds to design, it is best to deal with mobile devices before u
Responsive LayoutResponsive layout, in short, is that a website can be compatible with multiple terminals-not a specific version for each terminal. This concept was created to address mobile internet browsing. Responsive layouts can provide a more comfortable interface and a better user experience for users of different terminals, and with the current popularity of large-screen mobile devices, the "genera
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
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
3, Firefox 3.5, Opera 7, and Internet Explorer 9. At the same time we have to meet the needs of older browsers, as long as our main model table is provided without using media queries, then the page can be designed in all browsers. Media Query Sample code:@media screen and (width:800px) {...}@media screen (max-width:
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 precisely adapt to different devices.So, how does
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 precisely adapt to different devices.So, how does
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 precisely adapt to different devices.So, how does
technology (most important)Media: Refers to the device browsing the web, such as: Screen (Pc/pad/phone/watch/print/tv/projection/tty (pin printer/cmd)/braille (reading software) ...)Mediaquery: Query The current browse device type, resolution, color depth, direction (landscape/portait) and so on.CSS3 mediaquery: Depending on the features of the current browsing device, some CSS styles are selectively executed, and some other styles are ignored.There
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 precisely adapt to different devices.So, how does
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 precisely adapt to different devices.So, how does
Objective
With more and more people using mobile devices, the mobile version of the website is becoming more and more important, but the size of the mobile device, the screen resolution is different, we can not for Blackberry,iphone, the ipad and so on each have a separate page design. So we need the website design to meet a variety of device requirements and compatible with all screen resolution, this design is called Responsive web design
What is
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 precisely adapt to different devices.So, how does
Media Type: Media TypeA property in CSS2 that specifies the type of device that the page renders, commonly used:all, screen, print (printing), and multiple device types for projection, blindCitation method:1. 2. @import mode: @import URL (xx.css) screen (for: CSS file to introduce another CSS or 3. @media Mode: @media
There are three ways to implement a responsive layout:
CSS3 Media Query
Native JS Code
Third-party open source framework (most common with bootstrap)
CSS3--Media Query1. How media queries are implementedMethod One: Stylesheet in the style sheet:Use @media
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.