“CSS Pseudo Elements” Réponses codées

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 à “CSS Pseudo Elements”

Questions similaires à “CSS Pseudo Elements”

Plus de réponses similaires à “CSS Pseudo Elements” dans CSS

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code