css基础精华05
来源:互联网 发布:淘宝上金牌卖家可信吗 编辑:程序博客网 时间:2024/06/05 00:43
<!DOCTYPE html><!--CSS常用操作-分类--><html><head lang="en"> <meta charset="UTF-8"> <title></title> <link href="css05.css" type="text/css" rel="stylesheet"></head><body><p class="p1"> this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk</p><p class="p2"> this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk</p><p class="p3"> this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk</p><p class="p4"> this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk</p><p class="p5"> this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk this is my desk</p><ul> <li>中国1</li> <li>中国2</li> <li>中国3</li> <li>中国4</li></ul><p class="p6"> this is my desk6 this is my desk6 this is my desk6 this is my desk6 this is my desk6 this is my desk this is my desk6 this is my desk6 this is my desk6 this is my desk6 this is my desk6</p></body></html>
css:
/*line-height 设置行高*//*实际上在设置行间距*/.p1{ width: 400px; line-height: normal;}.p2{ width: 400px; line-height: 200%;}.p3{ width: 400px; line-height: 50%;}.p4{ /*最大宽度*/ /*有宽有窄*/ max-width: 250px; line-height: normal;}.p5{ /*设置鼠标放在上面时,鼠标的形状*/ cursor: alias;}li{ /*设置列表显示的格式为,为横向显示*/ display: inline;}.p6{ /*显示元素是否可见*/ /*visible可见*/ /*hidden不可见*/ visibility: hidden;}还有个实例:http://blog.csdn.net/zhaihaohao1/article/details/47208303http://blog.csdn.net/zhaihaohao1/article/details/47208315
0 0
- css基础精华05
- css基础精华01
- css基础精华02
- css基础精华03
- css基础精华04
- jquery基础精华05
- js基础精华05
- css-精华
- CSS精华
- css基础精华---Flex 布局教程:实例篇
- C#基础精华05(正则表达式,)
- css 样式精华
- css初学精华笔记
- CSS 精华一页纸
- C++精华基础贴
- 一些基础的精华
- C++精华基础
- JSP基础速成【精华】
- Java值传递以及引用的传递、数组的传递!!
- css基础精华04
- hive与hbase集成
- Heartbeat概念详解
- android 添加视频、图片、录音上传(一)
- css基础精华05
- 【ZJOI2013】K 大数查询 ( 树状数组套线段树 )
- Centos7下Amarok播放mp3
- NYOJ 27 水池数目 (DFS)
- 程序员的生活充满压力,但你不能放弃!
- 推箱子
- poj 3590
- C++,当函数参数或者返回值是对象......(★firecat推荐★)
- 黑马程序员——正则与反射