white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
/*强制不换行*/ white-space:nowrap; /*自动换行*/ word-wrap: break-word; word-break: normal; /*强制英文单词断行*/ word-break:break-all;
width: 0; height: 0; border-style: solid; border-width: 0 100px 100px 100px; border-color: transparent transparent #f00 transparent;
html{ height: 101%;}
.clearfix{*zoom: 1;}
.clearfix{overflow:hidden;_zoom:1;}
.clearfix:after{clear:both;display:table;content:"”;}
opacity: 0.5; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
input,button,select,textarea{ outline:none;}
textarea{ resize:none;}
input : -webkit-autofill {
background-color : #FAFFBD ;
background-image : none ;
color : #000 ;
}
min-height:500px;height:auto !important;height:500px;overflow:visible;
input:-moz-placeholder { color: #369; }
::-webkit-input-placeholder { color:#369; }
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-tap-highlight-color: transparent; // i.e. Nexus5/Chrome and Kindle Fire HD 7
a:focus { outline:none; -moz-outline:none; }
input[type=text],
textarea{
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
border: 1px solid #ddd;
}
input[type=text]:focus,
textarea:focus {
box-shadow: 0 0 5px rgba(81, 203, 238, 1);
border: 1px solid rgba(81, 203, 238, 1);
}
原文:http://my.oschina.net/oschinaindex/blog/514351