Creating Lists
2019独角兽企业重金招聘Python工程师标准>>>
Unordered Lists
<ul><li>Orange</li><li>Green</li><li>Blue</li></ul>
Ordered Lists
<ol><li>Head north on N Halsted St</li><li>Turn right on W Diversey Pkwy</li><li>Turn left on N Orchard St</li></ol>
<ol start="30"><li>Head north on N Halsted St</li><li>Turn right on W Diversey Pkwy</li><li>Turn left on N Orchard St</li></ol>
<ol><li>Head north on N Halsted St</li><li value="9">Turn right on W Diversey Pkwy</li><li>Turn left on N Orchard St</li></ol>
Description Lists
<dl><dt>study</dt><dd>The devotion of time and attention to acquiring knowledge on an academic subject, especially by means of books</dd><dt>design</dt><dd>A plan or drawing produced to show the look and function or workings of a building, garment, or other object before it is built or made</dd><dd>Purpose, planning, or intention that exists or is thought to exist behind an action, fact, or material object</dd><dt>business</dt><dt>work</dt><dd>A person's regular occupation, profession, or trade</dd></dl>
Nesting Lists
<ol><li>Walk the dog</li><li>Fold laundry</li><li>Go to the grocery and buy: <ul><li>Milk</li><li>Bread</li><li>Cheese</li></ul></li><li>Mow the lawn</li><li>Make dinner</li></ol>
List Style Type Property
ul {list-style-type: square;}
Using an Image as a List Item Marker
li {background: url("arrow.png") 0 50% no-repeat;list-style-type: none;padding-left: 12px;}
List Style Position Property
ul {list-style-position: inside;}
Shorthand List Style Property
ul {list-style: circle inside;}ol {list-style: lower-roman;}
Horizontally Displaying List
Inline-Block Displaying List
li {display: inline-block;margin: 0 10px;}
Floating List
li {float: left;margin: 0 20px;}
Navigational List
<nav class="navigation"><ul><li><a href="#">Profile</a></li><!----><li><a href="#">Settings</a></li><!----><li><a href="#">Notifications</a></li><!----><li><a href="#">Logout</a></li></ul></nav>
.navigation ul {font: bold 11px "Helvetica Neue", Helvetica, Arial, sans-serif;margin: 0;padding: 0;text-transform: uppercase;}.navigation li {display: inline-block;}.navigation a {background: #395870;background: linear-gradient(#49708f, #293f50);border-right: 1px solid rgba(0, 0, 0, .3);color: #fff;padding: 12px 20px;text-decoration: none;}.navigation a:hover {background: #314b60;box-shadow: inset 0 0 10px 1px rgba(0, 0, 0, .3);}.navigation li:first-child a {border-radius: 4px 0 0 4px;}.navigation li:last-child a {border-right: 0;border-radius: 0 4px 4px 0;}
转载于:https://my.oschina.net/flowers1987/blog/663540
Creating Lists相关推荐
- Creating Apps With Material Design —— Creating Lists and Cards
转载请注明 http://blog.csdn.net/eclipsexys 翻译自Developer Android.时间仓促,有翻译问题请留言指出,谢谢 创建Lisst和Cards 在你的应用程序创 ...
- 如何在Dart中合并列表
在 Dart 编程中,List 数据类型类似于其他编程语言中的数组.列表用于表示对象的集合.它是一组有序的对象.Dart 中的核心库负责 List 类的存在.创建和操作.有 5 种方法可以组合两个或多 ...
- 循环 直到 python_如果您在Python中存在慢循环,则可以对其进行修复……直到无法解决为止...
循环 直到 python by Maxim Mamaev 马克西姆·马马耶夫(Maxim Mamaev) Let's take a computational problem as an exampl ...
- 在Scala中列出| 关于Scala列表的完整教程
Scala | 清单 (Scala | List) List in Scala is a collection that stores data in the form of a liked-list ...
- 编程中怎样将列表中数字排序_R编程中的列表
编程中怎样将列表中数字排序 Lists in R can group together different kinds of variables into a single compound stru ...
- 创建一个带有Event Receiver的List Definition
文章中介绍了详细的步骤, 还有一个视频可供下载. 文章地址: Building List Definitions with Event Receiver in Windows SharePoint S ...
- Professional C# 6 and .NET Core 1.0 - Chapter 41 ASP.NET MVC
What's In This Chapter? Features of ASP.NET MVC 6 Routing Creating Controllers Creating Views Valida ...
- 光速不变_两点技术:以光速解决阵列问题
光速不变 Two-pointer technique is commonly used to solve array problems very efficiently. Whenever an ar ...
- linux 构建ios_为iOS构建本机编辑器
linux 构建ios 序幕 (Prologue) I have always been fascinated with the great Open Source community that al ...
最新文章
- error RC1015: cannot open include file 'afxres.h'. 的解决办法
- 查缺补漏 | Python控制结构
- MySQL下备份和恢复简单介绍
- CSS :hover 伪类
- Oracle中Null与空字符串' '的区别
- 启动ucosii之OSInit()
- tomcat7 - 烫手山芋之热部署
- 【离散数学中的数据结构与算法】三 同余定理
- 99 网络编程_网络工程师技能图谱,看看你会多少技能
- Html 按钮button加超链接
- mysql外建名是随机的吗_创建角色随机名字(mysql抽取随机记录)和mysql游标的使用_MySQL...
- 关于pchunter1.57x64过期使用
- C语言学习笔记---字符串拼接函数 strcat() 和 strncat()
- pytorch中tensor类型转换
- DAG镶嵌模型+原始路径打印
- 在线端口检测 - 端口扫描 - 端口开放检查
- 20130419阿里电话面试记录
- python模拟桌球运动_python基础教程 [台球运动基础教程]
- 聊聊软件开发的REP、CCP、CRP原则
- Android 利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)