CSS Base-font&link&list Properties

Source: Internet
Author: User
Tags italic font

1 /*Font2 font family: font-family3 font style: Font-style:normal (default) Italic (italic) oblique (italic font)4 font Size: font-size5 font weight font-weight:normal (default) bold definition size number6 7 8 using EM to set the font size, EM size units are recommended by the Consortium9 1em is equal to the current font size. The default text size in the browser is 16px. Ten  One */ A P{ - font-family:"Times New Roman", Times, serif; - Font-style:Inherit; the font-size:14px; - Font-weight:Bold; -} - /*Connection + A:link-Normal, not visited links - a:visited-links that have been visited by the user + A:hover-When the user mouse is placed on the link A A:active-the moment the link was clicked at */ - A:link{ - Color:Red; -      -} - a:visited{ in Color:Blue; - text-decoration:Underline; to} + a:hover{ - Color:Green; the} * a:active{ $ Color:Orange;Panax Notoginseng} - /*Note: There are some order rules when you set the style to several link states: the  + a:hover must be behind A:link and a:visited . A a:active must be behind A:hover . the */ +  -  $ /*List $ The List-style shorthand property. Used to set all properties used for the list in a declaration - List-style-image Sets the image to the list item flag.  -      the  - List-style-position Sets the position of the list item flags in the list. Wuyi The inside list item tag is placed inside the text, and the wrapping text is aligned according to the marker.  the outside the default value. Keep the marker on the left side of the text. List item markers are placed outside the text, and wrapping text is not aligned with the tag.  -  Wu List-style-type Sets the type of the list item flag.  - */ About  $ ul{ - List-style-type:None; - list-style-position:inside; - padding:0px; A margin:0px; +  the} - ul Li{ $ Background-image:URL (sqpurple.gif); the background-repeat:no-repeat; the background-position:0px 5px; the Padding-left:14px; the}

CSS Base-font&link&list Properties

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.