今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Fluid layouts
- [Instructor] We've talked about how to use media queries to make changes for any viewport width, but do we always need to use a media query? Remember, there are three ingredients for responsive web design: fluid layouts, flexible images, and media queries. Building your website on a flexible foundation first means you don't need to use media queries to target every possible size. Let's go over some techniques for creating a fluid layout, also referred to as a liquid layout. When setting the width of the page components, use percentage values or relative units where possible. Another option is to use the min and max-width properties which is the technique we applied to our content wrappers. In this scenario, using max-width allowed us to have precise control over how wide the content wrappers spanned on larger screens. Because we don't want it to get any larger than the maximum value on any screen, it makes sense…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
-
-
Intro to responsive design1 分钟 29 秒
-
(已锁定)
Intro to media queries4 分钟 32 秒
-
(已锁定)
Breakpoints and media queries3 分钟 32 秒
-
(已锁定)
Fluid layouts2 分钟 36 秒
-
(已锁定)
The viewport meta tag1 分钟 53 秒
-
(已锁定)
Testing responsive layouts3 分钟 1 秒
-
(已锁定)
Project: Breakpoints3 分钟 38 秒
-
(已锁定)
Project: Media queries: Part 112 分钟 26 秒
-
(已锁定)
Project: Media queries: Part 28 分钟 26 秒
-
(已锁定)
Project: Media queries: Part 36 分钟 17 秒
-
-