“pseudo elementy w CSS” Kod odpowiedzi

Co to jest pseudo selektor?

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

Pseudoelementy 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 elementy w 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

Pseudoklasy CSS

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

Odpowiedzi podobne do “pseudo elementy w CSS”

Pytania podobne do “pseudo elementy w CSS”

Więcej pokrewnych odpowiedzi na “pseudo elementy w CSS” w TypeScript

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu