今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Project: Sticky footer with flexbox
(upbeat music) - [Narrator] In this update, we'll apply what we learned about the flex property to our projects. Currently, the homepage looks like this. To keep the footer at the bottom of the page even when the content is short, we'll create what is commonly referred to as a sticky footer. We'll use the flex property to expand the content container to fill the space in the middle to push the footer down to the bottom of the page. Because the height of the content and footer as well as the browser window are not set to a specific fixed height, this is a great opportunity to use flex box for flexible sizing. Let's go back to the editor and take a look at the current HTML structure of the homepage. Here's how we'll implement the sticky footer. All the content is contained within this content wrapper div. The footer is contained in its own footer tag. I'll just collapse this block so that we can see these containers a…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
Intro to Grid and Flexbox59 秒
-
(已锁定)
Intro to Flexbox2 分钟 25 秒
-
(已锁定)
Flexbox: Orientation and ordering3 分钟 1 秒
-
(已锁定)
Sizing with flex properties2 分钟 29 秒
-
(已锁定)
Flexbox exercise3 分钟 51 秒
-
(已锁定)
Project: Sticky footer with flexbox5 分钟 39 秒
-
(已锁定)
Aligning flex items3 分钟 20 秒
-
(已锁定)
Project: Aligning elements with Flexbox3 分钟 41 秒
-
(已锁定)
Intro to CSS Grid2 分钟 23 秒
-
(已锁定)
The explicit grid3 分钟 59 秒
-
(已锁定)
The implicit grid2 分钟 58 秒
-
(已锁定)
Adding gutters with the gap property1 分钟 21 秒
-
(已锁定)
Project: Adding columns with Grid8 分钟 15 秒
-
-
-
-