Common CSS Code

Source: Internet
Author: User

/* Reset/Reset */
*{margin:0;padding:0;font-family: "Microsoft Jas Black";}
img {border:none;display:block;}
li{List-style:none;}
A{text-decoration:none;display:block;outline:none;color: #555;}
Select::-ms-expand {display:none;}
Select {
Border:none;
Background:none;
/* Key: Clear the Default Select selection box style */
Appearance:none;
-moz-appearance:none;
-webkit-appearance:none;
/* Set aside a little position for the drop-down arrows to avoid being overwritten by text */
padding-right:14px;
}
Input,textarea{border:none;background:none;}
Input:focus,textarea:focus,select:focus{outline:none;}
input[type=text],textarea{
-moz-border-radius:0; /* Firefox */
-webkit-border-radius:0; /* Safari and Chrome */
border-radius:0; /* Opera 10.5+, and the use of IE-CSS3 IE browser */}

. clear:after{clear:both; Content: '. '; Display:block;width:0;height:0;visibility:hidden;}
. Clear{zoom:1;}

. radius{
-moz-border-radius:50%; /* Firefox */
-webkit-border-radius:50%; /* Safari and Chrome */
border-radius:50%; /* Opera 10.5+, and the use of IE-CSS3 IE browser */}


. shadow{-moz-box-shadow:10px 10px 20px #000;/* Firefox */
-webkit-box-shadow:10px 10px 20px #000; /* Safari and Chrome */
box-shadow:10px 10px 20px #000; /* Opera 10.5+, and the use of IE-CSS3 IE browser */}

. tran{transition:all 1s;
-moz-transition:all 1s;
-webkit-transition:all 1s;
-o-transition:all 1s; }

/* Add Front */

H3:before {
Content: "";
Display:inline-block;
width:5px;
height:5px;
Background-color: #AF8C54;
-moz-border-radius:50%; /* Firefox */
-webkit-border-radius:50%; /* Safari and Chrome */
border-radius:50%; /* Opera 10.5+, and IE browser using IE-CSS3 */
margin:3px 10px 3px 0;
}
/* Out of display ellipsis */
P{width:auto;height:30px;display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
. Cen{position:absolute;
top:50%;
left:50%;
Transform:translate (-50%,-50%);}

/* Transparency */
. Opa{opacity:0.8;filter:alpha (opacity=80);}

Common CSS Code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.