[Solved] Which patterns used to select the element? [duplicate]


element>element
for example : div > p
Selects all

elements where the parent is a element

element+element
for example :div + p
Selects all

elements that are placed immediately after elements

element1~element2
for example : p ~ ul
Selects every element that are preceded by a

element

see this like for all css selectors:
https://www.w3schools.com/cssref/css_selectors.asp

1

solved Which patterns used to select the element? [duplicate]