“pseudo-éléments en CSS” Réponses codées

Qu'est-ce qu'un sélecteur pseudo?

A pseudo-class is a selector that selects elements that are in a specific state, e.g. they are the first element of their type, or they are being hovered over by the mouse pointer
Light Lobster

Pseudo-éléments CSS

selector::pseudo-element {
  property: value;
}
naly moslih

CSS Pseudo Elements

h2::first-letter {}
p::first-line {}
p::selection {background-color: red;}
::after / ::before
DevLorenzo

pseudo-éléments en CSS

As a matter of fact pseudo element is used to work on written items inside html
element.
This given pseudo element makes the color of first line after h1 in red color.

h1::first line{
  color:red;
}

YOU CAN LEARN MORE ABOUT SIBLINGS AND ADJACENT SIBLINGS TOOO!
caudatam daktula

Pseudo-classes CSS

selector:pseudo-class {
  property: value;
}
Wrong Warbler

Réponses similaires à “pseudo-éléments en CSS”

Questions similaires à “pseudo-éléments en CSS”

Plus de réponses similaires à “pseudo-éléments en CSS” dans TypeScript

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code