Clear floating
. Clearfix:before,. Clearfix:after {
Content: "";
display:table;
}
. clearfix:after {
Clear:both;
}
. clearfix {
Zoom:1;
}
The rest of the ellipses indicate
span{
Display:block;
Width:150/@px2rem;
Overflow:hidden;
White-space:nowrap;
Text-overflow:ellipsis;
}
Specify a few lines to display
Overflow:hidden;
Text-overflow:ellipsis;
Display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
Long Press to copy effect
-webkit-user-select:text!important;
Remove the fillet of input submit from Safari
-webkit-appearance:none;
border-radius:0;
Prohibit copy and paste on mobile phone side
*{
-webkit-touch-callout:none; /* System default menu is disabled */
-webkit-user-select:none; /*webkit Browser */
-khtml-user-select:none; /* Early Browser */
-moz-user-select:none;/* Firefox */
-ms-user-select:none; /*ie10*/
User-select:none;
}
There will be a problem with IOS, this time you will find that the input box is not entering the content
Input {
-webkit-user-select:auto; /*webkit Browser */
}
PS Save Slice shortcut key Ctrl+alt+shift+s
Center Display image
img{
Display:block;
margin:0 Auto;
}
Common CSS Settings