css014 Response Type Web DesignFirst, Response Type Web basic knowledge of design1, RWD three ideas: A, for the layout of the elastic network, B, for pictures and video of the elastic Media, C, for different screen width created by different styles of CSS media query.Second, to be RWD Building Web pages1, mobile browser in order to ignore the mobile browser scree
Today's screen resolution is as small as 320px (iPhone), as large as 2560px or even higher (large display), and the change range is extremely large. In addition to traditional desktops, more and more users will browse the pages through tablet devices such as mobile phones, netbooks, and iPad. In this case, the fixed-width design scheme will become increasingly unreasonable. The page must have better adaptability, and its layout structure should be adj
*/ color: #757474; font-size:. 550724638em; /* 38÷69 */ } You can see that the text size of the 6. In modern browsers (including IE 7+) It is very easy to zoom in on a picture as the flow layout is appropriate. Just make the following declaration in CSS:img {max-width:100%;}This allows the picture to be automatically scaled to match its container 100%.That is, you can fill the picture of the Div, you need to give that div flow layout is actually width100% or you set 50% then you can
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 precisely adapt to different devices.
How does media queries work?
Either way, you can de
than 800px, cancel the left and right floating of #mian and #sidebar, Width automatically, become a single-column layout, reduce the font line higher */@media screen and (max-width:800px) { #main, #sidebar { float: none; Width: auto; padding: 0; font-size: . 9em; line-height: 1.5; } }/* When the page width is less than 550px, it is often necessary to center the logo, set a small amount of space on both sides, change the font line higher * *@media
A common viewport meta tag for pages optimized for mobile pages is as follows:Name="viewport"content="Width=device-width, initial-scale=1.0">
Width: Controls the size of the viewport, you can specify a value if 600, or a special value, such as device-width for the width of the device (in pixels of the CSS when scaled to 100%).
Height: corresponds to width, specifying height.
Initial-scale: The initial zoom ratio, which is the scale at which the page is first load.
Maximum-s
;}}
The notation is preceded by a @media, and the other is the same as the media attribute in link.Max WidthThe following styles are applied when the width of the viewable area is less than 600px.
123456
@media screen and (max-width: 600px) {.class {background: #fff;你的样式}}
Min WidthThe following styles are applied when the width of the viewable area is greater than 900px.
12345
@media screen and (min-width: 900px) {.class {backgroun
Page design and development should be based on user behavior and device environment (System platform, screen size, screen orientation, etc.) to respond and adjust accordingly. The concrete practice way is composed of many aspects, including elastic grid and layout, picture, CSS Media query use and so on. Whether the user is using a laptop or an ipad, our pages should be able to automatically switch resolution, image size and related scripting function
the Web page, RWD can make your Web page in different devices to show different design style. From this point of view, responsve is neither a fluid layout nor a grid layout, he is a unique approach to web design.
Responsive
What is responsive design? Wikipedia is a description of the response: "The responsive design is simply called RWD, which is a design method that provides a wide range of devices to browse the Web, and RWD allows your
Article Description: the UI should follow the three major web design principles.
Touch-first design, responsive design, and mobile priority design are the three principles that the UI designer should follow in order to
English Original: Splio, compilation: W3cplusResponsive design for me is not a stranger, from the time he appeared in the Internet, he has been watching his growth, but also in the W3cplus station to share a lot of this tutorial and resources. Because of the organization of YY activities online and everyone to share the design of responsive, in order to let every
Why the Web page to do adaptive delivery, all because the mobile device is now a big line, is now the mobile internet era, with iOS and Android-led mobile terminal has been everywhere.When people use the 380px iphone to open your Web page, you can not display a 1024px page to others, the user experience big discount purchase, because responsive
From 2012 to 2014, all of us are referring to the trend prediction of web design, and the response style is continued in the 2015 web design trend prediction. The response, which has been hot for several years, has quickly consolidated its position in the past few years and set off a wave of new standards for
feature allows you to set breakpoints and to test how CSS Media works on your site.
Dimensionsapp.
Dimensionsapp is an online emulator for mobile phones and tablets that can help you test the responsiveness of your site on many devices, such as tablets, widescreen devices, and mobile phones. Just enter the URL of your blog and click on the names of the various devices to see what it looks like.
In addition to the tools listed above, do you have a f
It is said that 2013 will be the year of responsive design. The yitao design team initially tried to respond when the yitao homepage was revised last year. Recently, it has been used in a more in-depth manner in the yitao "playke" project, for the first time, full-site response is implemented in complex products. I have accumulated some experience and made a
installed directly on your personal computer. Among them, we find Opera Mobile Emulator, which is available for Mac, Linux, and Windows. After installing and opening the application, you'll have a list of devices so it can emulate (with the unfortunate exce Ption of Apple devices).To conclude this article, I ' d like to share a very useful online tool to test the compatibility of your live Website:cross Browsertesting.com. Must choose a operating sys
.) corresponding to the layout.Popular point, is the user whether through the computer, tablet or mobile phone to visit the company's official website, corporate websites can be most suitable for their way to show. At the same time, the responsive website can also enhance the image of the enterprise. The responsive site is the latest and most mainstream trend of the past few years, and this technology is st
. You can set the handheld direction of the device, horizontal or vertical orientation (portrait | lanscape), and resolution of the device; syntax structure and usage: @ media device name only (selection condition) not (selection condition) and (device selection condition ).
③.Responsive processing of tables:The table automatically changes as the Web page or device changes. You can use tr (row and column),
Article Description: responsive web design needs to consider the 5 major budget factors.
The author of this article, Brad Frost, a mobile web strategist and designer and front-end development engineer at the New York Digital Interactive advertising company R/ga. The author mainly makes a simple comparison be
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.