Files
webpage/src/style/common/pc/_common.styl
T
2017-11-18 10:58:39 +08:00

54 lines
759 B
Stylus

@charset "UTF-8";
/**
*
* @authors Tony.Deng (dengtongyu123@163.com)
* @date 2017-05-06 21:15:04
* @version $Id$
*/
html,body {
padding: 0;
margin: 0;
height: 100%
}
/*清除浮动*/
.cl:after {
content: " ";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.cl {
zoom: 1;
}
.clear {
clear:both;
display:inline;
}
/*显示隐藏*/
.show{display:block;}
.hide{display:none;}
/*左右浮动*/
.fl,.z{float:left;}
.fr,.y{float:right;}
/*字体抗锯齿*/
.thin {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/*单行文字超出显示省略号*/
.ell {
overflow:hidden;
word-wrap:normal;
white-space:nowrap;
text-overflow:ellipsis;
word-break:keep-all;
-ms-text-overflow:ellipsis;
}