CSS样式大全
来源:互联网 发布:linux 域控制器 编辑:程序博客网 时间:2024/05/19 19:42
@charset "gb2312";/**/.ceshi{ font-size:15px;/* 字体大小 */ font-style:normal;/*字体样式 oblique(偏斜体) italic;(斜体) normal;(正常)*/ line-height: 20px;/*字行高*/ font-weight: bold;/*字体粗细*/ text-decoration: underline;/* (下划线) overline;(上划线) line-through;(删除线) blink;(闪烁) */ font-family:Microsoft YaHei ;/* 宋体:SimSun 黑体:SimHei 微软雅黑:Microsoft YaHei*/ background-color: #FFFFFF; background:url(images/xxx.jpg) no-repeat center center;/*引用背景图片 no-repeat不重复 repeat-x横向重复 repeat-y纵向重复 center 居中 left 靠左...*/ display:none; /* none隐藏,block块状默认100%width,inline-block根据字符大小定义块状宽度 */ letter-spacing:1px;/* 字间距 */ text-align: justify; /* justify两端对齐left;(左对齐) right;(右对齐) center;(居中) */ text-indent:2em;/*一般为em单位,当前字符大小的两倍*/ display:block;/* (块) inline;(内嵌) list-item;(列表项) run-in;(追加部分) compact;(紧凑) marker;(标记) table; inline-table; */ float:left; /* 靠左 */ margin:1px 2px 3px 2px; /* 外边距 顺序:上右下左 */ padding:1px 2px 3px 2px; /* 内边距 顺序:上右下左 */ border:1px solid #ccc; /* 边 border:width style color 宽度 solid直线/dashed 虚线 颜色 */ border-style: dotted;/* (点线) dashed;(虚线) solid; double;(双线) groove;(槽线) ridge;(脊状) inset;(凹陷) outset; */ Position: absolute; /* relative; absolute 生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。元素的位置通过 "left", "top", "right" 以及 "bottom" 属性进行规定。 fixed 生成绝对定位的元素,相对于浏览器窗口进行定位。元素的位置通过 "left", "top", "right" 以及 "bottom" 属性进行规定。 relative 生成相对定位的元素,相对于其正常位置进行定位。因此,"left:20" 会向元素的 LEFT 位置添加 20 像素。*/ list-style-type: disc;/*列表属性 disc (圆点) circle;(圆圈) square;(方块) decimal;(数字) lower-roman;(小罗码数字) upper-roman; */ overflow:hidden;/* 溢出隐藏 auto(溢出出现下拉条) */}a /*所有超链接*/a:link /*超链接文字格式*/a:visited /*浏览过的链接文字格式*/a:active /*按下链接的格式*/a:hover /*鼠标转到链接*/
0 0
- css鼠标样式大全
- CSS 样式属性大全
- hr css样式大全
- CSS样式大全
- CSS按钮样式大全
- CSS样式大全
- CSS样式大全 .
- CSS样式大全
- css样式大全
- css样式大全
- css样式大全
- css样式大全
- css样式大全--整理
- css样式大全
- CSS样式大全
- css样式大全
- css样式大全
- css样式大全
- Android的Binder机制概念介绍
- 浅谈params修饰符
- C# queryLinq和methodLinq语句用法
- wifidog 源码初分析(一)
- Linux下动态共享库加载时的搜索路径详解
- CSS样式大全
- Java基础-二维和三维数组
- Git- Fatal: cannot do a partial commit during a merge
- B-LINK USB无线网卡 ubuntu 14.04 驱动解决
- leetcode 114. Flatten Binary Tree to Linked List
- ArchLinux mount U盘
- iOS Core Animation 简明系列教程
- 【poj 3321】Apple Tree 题意&题解&代码(C++)
- Initialization of variable was never used; consider replacing with assignment to ‘_’ or removing it