General sibling combinator: The ~ combinator selects siblings. This means that the second element follows the first (though not necessarily immediately), and both share the same parent. <
Hi, if you want to select one or more previous brothers, how should I do with CSS? Or should I use JS?
Thanks.
Renato
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, if you want to select one or more previous brothers, how should I do with CSS? Or should I use JS?
Thanks.
Renato