常用CSS
2016-01-12 20:12
447 查看
p:first-child
filter:alpha(opacity=80);-moz-opacity:0.8; opacity: 0.8; /*使图片透明*/
cursor:pointer;/*鼠标显示方法,手指*/
/*tml代码 CSS可以参照如下定义,注意顺序: */
#menu { line-height: 23px; } /* firefox 浏览器实行这句定义 */
#menu { line-height: 26px\9; }/*ie6,ie7,ie8 这句定义主要尖对IE8来hack*/
#menu { *line-height: 23px; } /*ie6,ie7 这句定义主要尖对IE7来hack*/
#menu { _line-height: 23px; } /*ie6 浏览器优先实行这句定义*/ 或者写成一句
#menu { line-height:23px; line-height: 26px\9; *line-height: 23px; _line-height:23px; } 或者
* html #menu { line-height: 23px; } /* IE6 浏览器实行这句定义 */
*+html #menu { line-height: 23px; } /* IE7 浏览器实行这句定义*/
{line-height:21px!important;*line-height:21px;_line-height:21px;}/*line-height兼容*/
{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:200px;}/*CSS截取,超过这个宽度就显示省略号*/
{display:inline-block;/*IE6不兼容block*/}
{
/*
导航:nav
主导航:mainbav
子导航:subnav
顶导航:topnav
边导航:sidebar
左导航:leftsidebar
右导航:rightsidebar
菜单:menu
子菜单:submenu
摘要: summary
navigation
页面外围控制整体布局宽度:wrapper
wmode="transparent"设置flash背景透明
*/}
{word-wrap: break-word; word-break: normal; text-align:justify; text-justify:inter-ideograph;/*换行*/}
{text-transform:uppercase;/*保持大写*/}
{font-style:italic;/*字体倾斜*/}
img{vertical-align:middle;/*图片居中*/}
{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;/*圆角*/}
{text-shadow: -2px 2px #fff;/*给文字镶边框*/}
/*旋转*/
{transform: rotate(180deg);
-ms-transform: rotate(180deg); /* IE 9 */
-webkit-transform: rotate(180deg); /* Safari and Chrome */
-o-transform: rotate(180deg); /* Opera */
-moz-transform: rotate(180deg); /* Firefox */}
cursor:not-allowed;
线条:dashed dotted inherit
color:inherit;
filter:alpha(opacity=80);-moz-opacity:0.8; opacity: 0.8; /*使图片透明*/
cursor:pointer;/*鼠标显示方法,手指*/
/*tml代码 CSS可以参照如下定义,注意顺序: */
#menu { line-height: 23px; } /* firefox 浏览器实行这句定义 */
#menu { line-height: 26px\9; }/*ie6,ie7,ie8 这句定义主要尖对IE8来hack*/
#menu { *line-height: 23px; } /*ie6,ie7 这句定义主要尖对IE7来hack*/
#menu { _line-height: 23px; } /*ie6 浏览器优先实行这句定义*/ 或者写成一句
#menu { line-height:23px; line-height: 26px\9; *line-height: 23px; _line-height:23px; } 或者
* html #menu { line-height: 23px; } /* IE6 浏览器实行这句定义 */
*+html #menu { line-height: 23px; } /* IE7 浏览器实行这句定义*/
{line-height:21px!important;*line-height:21px;_line-height:21px;}/*line-height兼容*/
{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:200px;}/*CSS截取,超过这个宽度就显示省略号*/
{display:inline-block;/*IE6不兼容block*/}
{
/*
导航:nav
主导航:mainbav
子导航:subnav
顶导航:topnav
边导航:sidebar
左导航:leftsidebar
右导航:rightsidebar
菜单:menu
子菜单:submenu
摘要: summary
navigation
页面外围控制整体布局宽度:wrapper
wmode="transparent"设置flash背景透明
*/}
{word-wrap: break-word; word-break: normal; text-align:justify; text-justify:inter-ideograph;/*换行*/}
{text-transform:uppercase;/*保持大写*/}
{font-style:italic;/*字体倾斜*/}
img{vertical-align:middle;/*图片居中*/}
{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;/*圆角*/}
{text-shadow: -2px 2px #fff;/*给文字镶边框*/}
/*旋转*/
{transform: rotate(180deg);
-ms-transform: rotate(180deg); /* IE 9 */
-webkit-transform: rotate(180deg); /* Safari and Chrome */
-o-transform: rotate(180deg); /* Opera */
-moz-transform: rotate(180deg); /* Firefox */}
cursor:not-allowed;
线条:dashed dotted inherit
color:inherit;
相关文章推荐
- 128 css 英文也强制换行
- 利用html 和css模仿必应搜索主页。(一)
- web导航栏点击跳转后的样式
- CSS之各种居中
- CSS常用属性:
- CSS之background
- [学习记录][css]文本属性
- 状态栏,tableView分区样式的设置
- CSS常用技巧之CSS书写技巧和CSS HACK技巧
- html/css基础篇——iframe和frame的区别【转】
- html/css基础篇——iframe和frame的区别【转】
- html和CSS应该知道内容
- 编写灵活、稳定、高质量的 HTML 和 CSS 代码的规范
- css3 transform方法常用属性
- css学习之 display:inline-block;
- 盘点8种CSS实现垂直居中水平居中的绝对定位居中技术
- css 消除 button a input 点击时的外框
- RadioButtonList样式
- css3动画简介以及动画库animate.css的使用
- Ericsson实习经历