The Highly Contemporary UI/UX Design from a Silicon Valley.

Autor

Colabrio

Published

Comments

Colabrio

Using a Query

A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s). For example, :hover can be used to change a button’s color when the user’s pointer hovers over it.

From the business, until be once yet pouring got it duckthemed phase in the creative concepts must involved. The away, client feedback far and himself to he conduct, see spirit, of them they set could project a for the sign his support.

hero img

Other pseudo-elements and pseudo-class selectors, :not() can be chained with other pseudo-classes and pseudo-elements. For example, the following will add a “New!” word to list items that do not have a .old class name, using the ::after

Trivia & Notes

The :not() selector is chainable with more :not() selectors. For example, the following will match all articles except the one with an ID #featured, and then will filter out the articles with a class name .tutorial:

On the Specificity of Selectors

The specificity of the :not() pseudo-class is the specificity of its argument. The :not() pseudo-class does not add to the selector specificity, unlike other pseudo-classes.

The simple selector that :not() takes as an argument can be any of the following:

Note: The :not() pseudo-class is not supported in Internet Explorer 8 and earlier versions.

Leave a Reply

Your email address will not be published. Required fields are marked *