Home > Web Front-end > CSS Tutorial > Several common comments in CSS_Experience exchange

Several common comments in CSS_Experience exchange

WBOY
Release: 2016-05-16 12:07:51
Original
2245 people have browsed it

1. Selector (child selector)
If you want to hide a CSS definition in IE, you can use a child selector.
css part:

html>body p {
/* declarations */
}


2. "Wildcard" (*)
This This writing method can only be understood by IE browser (hidden from other browsers)
css part:

* html p {
/* declarations */
}


3. "Backslash" (\)
If you want IE/Win to be effective but IE/Mac to be hidden, you can use the "backslash" technique.
css part:


/* \*/
* html p {
declarations
}
/* */

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template