CSS Learning Notes

Source: Internet
Author: User

#image {/*css background */background-color:red;    Background-image:url (3.jpg);    Background-position:center/*30% 20%*//*30px 20px*/;    Background-repeat:repeat-x/*repeat-x*/;    background-size:80px 60px; /*background:red,url (3.jpg), center,no-repeat,80px 60px*/;}    #text {/* text typesetting */text-align:center;    Text-decoration:underline;    Text-indent:2em;    Word-spacing:0.5em;    White-space:normal/*nowarp Prohibited Text line-wrapping * *; Direction:rtl;    /* from right to Left */} #font {/* font */font-family:serif;    Font-style:italic;    font-size:15px; Font-weight:bold/*700*/;} /*-----Link-----*/a:link {color: #FF0000;} /* Non-visited link */a:visited {color: #00FF00;} /* The link that has been visited */a:hover {color: #FF00FF;} /* mouse pointer moves to the link */a:active {color: #0000FF;} /* links that are being clicked *//*-----Links-----*/ul {list-style-type:none;/* Remove list Item tags */list-style-image:url ('/i/eg_arrow.gif ')/    * Mark the image as a list item */}li{display:block;/* block-level element */}table, TD {BORDER:1PX solid #3581FF; padding:3px; /* margin is margin, the padding is the inner margin. When two properties occur at the same time, the margin is guaranteed first. */* Two outside the meeting will be merged to the margin, whichever is greater, whether it is margin-top and Margin-buttom meet or Margin-top and margin-top meet * * VERTICAL-ALIGN:BOTTOM; /* Vertical alignment */text-align:center;}    #positive1 {position:relative; left:20px;}    #positive2 {position:absolute;    left:20px;    top:100px; Z-index:-1;    /* The default z-index is 0,-1 for the next layer in the default location */} #positive3 {position:fixed; left:20px;} The CSS style of the input {/* INP tag */font-size:3px;} [title]/* and above are different, this is the CSS style containing the tag of title */{font-size:3px;}    img {height:100px; opacity:0.5;/* transparency */}p{max-height:10px;/* maximum height. The rest will be obscured by other elements. */}

  

CSS Learning Notes

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.