Web Front End-css

Source: Internet
Author: User

Four states of the 1.1CSS link:

A:link--Normal, inaccessible link a:visited--the user has visited the link a:hover--the mouse pointer is above the link a:active--the moment the link is clicked

What we need to note here is the order of the four property settings to follow: A:hover must be located after A:link and a:visited a:active must be behind a:hover

We're going to add the text-decoration attribute to the Link property and we can drop the line.

1.2CSS Contour

A contour (outline) is a line that is drawn around an element, at the periphery of the edge of the bounding rectangle, that acts as an element of prominence. The CSS outline property specifies the style, color, and width of the element outline. The attributes involved are:

Outline sets all the profile properties in a declaration.    Outline-color sets the color of the outline.    Outline-style sets the style of the outline. Outline-width sets the width of the contour.



Web Front End-css

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.