课程: Advanced Responsive Layouts with CSS Flexbox
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Creating a social media menu - CSS教程
课程: Advanced Responsive Layouts with CSS Flexbox
Creating a social media menu
- The last individual menu we'll look at is the social media menu. Here we're going to use the exact same technique as in the previous examples. Set the display property of the unordered list to flex and use justify content to position the menu items. So there's nothing new here from a Flexbox perspective. The reason I want to show you the social media menu before we move on to the mixed menus is the technique used to display the social media icons. Because as you can see in the Social Menu all we're seeing is the social media icons for each of the menu items. We're not seeing any text and the social media icons are being generated automatically. If we look at the HTML for this page you'll see that within each list item there is an anchor with an href that points at a social media network using the standard URL. Now we could of course append something to this and it would still work the same way it does now. But for simplicity's sake I've just put in the root URL to each of the…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
Exploring common menu layouts1 分钟 28 秒
-
(已锁定)
Marking up five types of menus4 分钟 53 秒
-
(已锁定)
Using Flexbox to control single-level menu layout7 分钟 21 秒
-
(已锁定)
Using Flexbox to control advanced menus6 分钟 51 秒
-
(已锁定)
Using Flexbox to control multilevel menus with dropdowns6 分钟 24 秒
-
(已锁定)
Creating a social media menu3 分钟 17 秒
-
(已锁定)
Using Flexbox to control multiple menus4 分钟 38 秒
-
-
-
-
-
-