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相关推荐

  1. Creating Apps With Material Design —— Creating Lists and Cards

    转载请注明 http://blog.csdn.net/eclipsexys 翻译自Developer Android.时间仓促,有翻译问题请留言指出,谢谢 创建Lisst和Cards 在你的应用程序创 ...

  2. 如何在Dart中合并列表

    在 Dart 编程中,List 数据类型类似于其他编程语言中的数组.列表用于表示对象的集合.它是一组有序的对象.Dart 中的核心库负责 List 类的存在.创建和操作.有 5 种方法可以组合两个或多 ...

  3. 循环 直到 python_如果您在Python中存在慢循环,则可以对其进行修复……直到无法解决为止...

    循环 直到 python by Maxim Mamaev 马克西姆·马马耶夫(Maxim Mamaev) Let's take a computational problem as an exampl ...

  4. 在Scala中列出| 关于Scala列表的完整教程

    Scala | 清单 (Scala | List) List in Scala is a collection that stores data in the form of a liked-list ...

  5. 编程中怎样将列表中数字排序_R编程中的列表

    编程中怎样将列表中数字排序 Lists in R can group together different kinds of variables into a single compound stru ...

  6. 创建一个带有Event Receiver的List Definition

    文章中介绍了详细的步骤, 还有一个视频可供下载. 文章地址: Building List Definitions with Event Receiver in Windows SharePoint S ...

  7. 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 ...

  8. 光速不变_两点技术:以光速解决阵列问题

    光速不变 Two-pointer technique is commonly used to solve array problems very efficiently. Whenever an ar ...

  9. linux 构建ios_为iOS构建本机编辑器

    linux 构建ios 序幕 (Prologue) I have always been fascinated with the great Open Source community that al ...

最新文章

  1. error RC1015: cannot open include file 'afxres.h'. 的解决办法
  2. 查缺补漏 | Python控制结构
  3. MySQL下备份和恢复简单介绍
  4. CSS :hover 伪类
  5. Oracle中Null与空字符串' '的区别
  6. 启动ucosii之OSInit()
  7. tomcat7 - 烫手山芋之热部署
  8. 【离散数学中的数据结构与算法】三 同余定理
  9. 99 网络编程_网络工程师技能图谱,看看你会多少技能
  10. Html 按钮button加超链接
  11. mysql外建名是随机的吗_创建角色随机名字(mysql抽取随机记录)和mysql游标的使用_MySQL...
  12. 关于pchunter1.57x64过期使用
  13. C语言学习笔记---字符串拼接函数 strcat() 和 strncat()
  14. pytorch中tensor类型转换
  15. DAG镶嵌模型+原始路径打印
  16. 在线端口检测 - 端口扫描 - 端口开放检查
  17. 20130419阿里电话面试记录
  18. python模拟桌球运动_python基础教程 [台球运动基础教程]
  19. 聊聊软件开发的REP、CCP、CRP原则
  20. Android 利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)

热门文章

  1. vuejs和html语言一样么,vue和vue.js有区别吗?
  2. MDL估计算法程序C语言,MDLS算法浅谈
  3. 红外发送管的角度特性测试
  4. 第十六智能车竞赛总决赛获奖证书寄送
  5. 信号与系统2021年期末考试命题
  6. C116实验室里故事
  7. 2020年春季学期信号与系统课程作业参考答案-第十五次作业
  8. Mac中安装JDK1.8和JDK11双版本并任意切换
  9. 架空输电线路运行规程_[精品课程]绝缘子及其设计架空输电线路设计
  10. pythonturtle画房子_用python的turtle模块实现给女票画个小心心