“Pseudo elementos en CSS” Código de respuesta

¿Qué es un pseudo selector?

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-elementos CSS

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

Pseudo elementos CSS

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

Pseudo elementos 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-clases de CSS

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

Respuestas similares a “Pseudo elementos en CSS”

Preguntas similares a “Pseudo elementos en CSS”

Más respuestas relacionadas con “Pseudo elementos en CSS” en TypeScript

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código