Searching for the ~ character isn\'t easy. I was looking over some CSS and found this
.check:checked ~ .content {
}
What does
Good to also check the other combinators in the family and to get back to what is this specific one.
ul liul > liul + ul ul ~ ulExample checklist:
ul li - Looking inside - Selects all the li elements placed (anywhere) inside the ul; Descendant selectorul > li - Looking inside - Selects only the direct li elements of ul; i.e. it will only select direct children li of ul; Child Selector or Child combinator selectorul + ul - Looking outside - Selects the ul immediately following the ul; It is not looking inside, but looking outside for the immediately following element; Adjacent Sibling Selectorul ~ ul - Looking outside - Selects all the ul which follows the ul doesn't matter where it is, but both ul should be having the same parent; General Sibling SelectorThe one we are looking at here is General Sibling Selector