Learn about CSS in the process of collecting

Source: Internet
Author: User

Fix the problem of line spacing when using sub and sup sub,sup{font-size:75%;Line-height:0;position:relative;vertical-align:Baseline;}sup{Top:-0.5em;}Sub{Bottom:-0.25em;}. P{letter-spacing:4em;/*Letter Spacing (kerning)*/word-spacing:0.4em/5px;/*Word spacing*/text-indent:1.5em/18px;/*indent first line in paragraph*/White-space:Pre/nowrap/normal;/*Space output Format*/Text-transform: ;/*Modify text Case*/font-variant:;/*use small capital letters*/}--------------------------------------------------------background-attachment:fixed/scroll; background with page scrolling head plus C lass= "Clearfix"--------------------------------------------------------normally,<pre></pre> guaranteed output, So the wrap is off and the CSS pre{White-space:Pre-warp;}turn on Wrap-----------------------------------------------------------------------------------------------------1. Apply multiple to a single element Heavy background. Neight-sky{Background-color:#333;Background-image:URL (), url () , url ();background-position:50% 102%,100% -150%,0% -150%;background-repeat:no-repeat,no-repeat,no-repeat;}abbreviation. Neight-sky{Background-color:#333;background:URL () 0 0 no-repeat,url () 0 0 no-repeat;just write it a few more times.}2. Try the gradient background. Neight-sky{background:Linear-gradient (left, #333, #777);linear-gradient linear Gradient radial-gradient radial gradient multi-color gradient background (top, #ff0000 0, #00ff00 50%, #0000ff 100%);}-----------------------------------------------------------------------------------------------------Browser mode operation-moz- Firefox and other browsers using the Mozilla rendering engine-webkit-chrome,safari-o-OPERA-MS-IE8 and above--------------------------- -----------------------------CSS font embedding @font-face{font-family: ;src:URL () format ();Font-style: ;Font-weight: ;}

Learn about CSS in the process of collecting

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.