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

Several common comments in CSS_Experience exchange

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 12:07:512275browse

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
}
/* */

Statement:
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