+ 2
> * , greater than sign and asterisk sign in css
what do > and * do in css? for example : .wrapper >* { } //wrapper is name of the class
1 Answer
+ 3
There are combinator selectors in CSS, that is something that explains the relationship between the selectors.
> is a child selector.
For example:
div > p Selects all <p> elements where the parent is a <div> element.
The universal selector (*) selects all HTML elements on the page.
.wrapper >* means all the elements where the parent is the element with a class (.wrapper)