Discover best responsive web design books, include the articles, news, trends, analysis and practical advice about best responsive web design books on alibabacloud.com
Yuan ShuaiLinks: http://www.zhihu.com/question/20976405/answer/57018545Source: KnowCopyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.Responsive Web Design 9 elementsResponsive web Design is a great solution for multi-screen
of styles, may affect performance. Theoretically, I'm in favor of it, and I haven't actually tested how performance has affected it. But from the layout point of view, from the point of view of design, at least my logic is from large to lowercase, because the small Basic is on a large basis to do the deletion and layout changes, so the logic is relatively smooth when writing. However, whether from the big to the small, or from small to large, their o
Responsive web Design is a good solution for solving multi-type screen problems, but from a printing point of view, there are a lot of difficulties. There is no fixed page size, no millimeters or inches, no physical restrictions, and it doesn't make sense. With the growing number of gadgets available on the site, the pixel de
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
to lowercase, mobile phone will cascade and rewrite a lot of styles, may affect performance. Theoretically, I'm in favor of it, and I haven't actually tested how performance has affected it. But from the layout point of view, from the point of view of design, at least my logic is from large to lowercase, because the small Basic is on a large basis to do the deletion and layout changes, so the logic is relatively smooth when writing. However, whether
Today's screen resolution, as small as 320px (IPhone), large to 2560px or even higher (large display), the range is great. In addition to the use of traditional desktops, users will increasingly be on mobile phones, netbooks, ipad-type tablet devices to browse the page. In this case, the fixed width of the design will appear more unreasonable. The page needs to be more adaptable, and its layout structure should be adjusted to respond to different devi
Today's screen resolution, as small as 320px (IPhone), large to 2560px or even higher (large display), the range is great. In addition to the use of traditional desktops, users will be more and more throughMobile Phone, netbooks, ipad-type tablet devices to browse the page. In this case, the fixed width of the design will appear more unreasonable. The page needs to be more adaptable, and its layout structure should be adjusted to respond to different
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
Some time ago I to the concept of the response is still bootstrap, amaze and other framework components, used several times also disagree, I think the domestic search engine in the provision of mobile search results page will still add points to the mobile site, but not like Google to identify the response-type site, It may take some time to develop. But there is no doubt that the web trend is now shifted to mobile priority, of course, if you use the
How to implement responsive web design with CSS3:It is divided into three steps:(1) Allow Web page width to be adjusted automatically. First in the page header, we need to add this line: (2) Flow layout. Do not use absolute width layout and font size, that is, in the code in CSS, the definition width and height can not
/css_rwd_viewport.aspHttps://developer.mozilla.org/zh-CN/docs/Mobile/Viewport_meta_tag Background-size:cover; //Causes the element to stretch freely at the persisted proportions.Set BreakpointsDevice Query Technology (Media Queries) @media (min-width:600px) {}In our product page, it looks like we need to do:
Limit the maximum width.
Modifies the inner margin of an element and shrinks the loadline.
Aligns the table with the title content.
Keeps the video floating around the c
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
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
sidebar block is not displayed (Display:none).Adaptive Image (fluid image)In addition to layout and text, adaptive web design must also implement automatic scaling of pictures.This is just one line of CSS code:
img {max-width:100%;}
This line of code is also valid for most video embedded pages, so it can be written as:
IMG, object {max-width:100%;}
The old version of IE does not
1.user-scalable: Whether the user can scale manually.The 2.box-sizing property allows you to define certain elements in some way to fit the specified area. Specify the width and height of the box, and place the border and padding into the box.[email protected] to set different styles for different screen sizes4. Modify the background presentation (Background-color) If the document width is less than 300 pixels:@media screen and (max-width:300px) { body { margin:0px; padding:0px; Color
Organized in the "Responsive web design HTML5 and CSS3 Practice Guide" book① based on width percentage
For the above picture, we can fix the div width it belongs to with a percentage, then let the picture adapt to the width and height of the div
. img-wap{
Float:left;
width:40%;
}
. img{
max-width:100%;
Height:auto;
}
② Create a cookie for the de
might be amazed at the number of browsers supported, such as Mozilla Firefox 3.6+, Apple Safari 5+, Google Chrome, ie9+ and opera11+. But the poor ie6-8 cannot, and you will make them transparent, I have always been so.However, the use of units to set the font, can not completely consider IE, if you want to use this REM, but also want to be compatible with the effect of IE, you can consider "px" and "REM" with the use of "px" to achieve ie6-8 effect, and then use "REM" to achieve the effect of
I. Mobile First Mobile phone design is usually more minimalist, from the mobile phone design to start making a simple version, with the introduction of tablet and desktop, the page slowly complex, this is an incremental process, the initial focus on the core module, the default open simple phone style, and the responsible style wrapped in media query, so will not load, So the access speed is the best . Con
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.