CSS 3 selector Root, not, empty, target

Source: Internet
Author: User

1.root Selector

The root selector binds the style to the root element of the page. The root element is the element that is the topmost structure in the document tree, which in the HTML page refers to the "

2.not Selector

If you want to use a style for a structure element, but want to exclude the sub-structure element below the structure element so that it does not use this style, you can use the not selector.

3.empty Selector

Use the empty selector to specify the style to use when the content in the element is blank.

4.target Selector

Use the target selector to specify a style for a target element in the page that is used as a hyperlink in the page, which works only when the user taps the hyperlink in the page and jumps to the target element.

CSS 3 selector Root, not, empty, target

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.