Discover responsive web design breakpoints, include the articles, news, trends, analysis and practical advice about responsive web design breakpoints on alibabacloud.com
different sizes of the screen, according to the width of the screen, automatically adjust the layout?I. The concept of "adaptive web Design"In 2010, Ethan Marcotte proposed the term "adaptive web Design" (Responsive web
design, universal application", so that the same page automatically adapt to different sizes of the screen, according to the width of the screen, automatically adjust the layout?I. The concept of "adaptive web Design"In 2010, Ethan Marcotte proposed the term "adaptive web Design
Nowadays, mobile devices are becoming more and more popular, and web pages on smartphones and tablets are becoming more and more popular. However, traditional fixed pages cannot be displayed on mobile terminals. Therefore, Ethan Marcotte proposed a responsive web design concept.
The
Responsive design (responsive) is a very popular web design in recent years, which can help you to effectively adapt the display of different devices display screen, greatly improve the user experience and web
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
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
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
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
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
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
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
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
/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
pictures through media queries. Take a look at a breakpoint to solve the image adaptive example.The corresponding CSS code:@media (min-device-width:600px) {img[data-src-600px]{ content:attr (Data-src-600px,url); }} @media (min-device-width:800px) { img[data-src-800px] { content:attr (data-src-800px,url); }}Note: This is only a way to solve the adaptive image of responsive images, but this scheme only adapts to a few
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
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.