What is the diff between these selectors: "ol li" and "ol~li"
as mentioned. thought both are targeting the second element
ol li :
It will select the (li) element inside (ol) element
It will select (li) element that are siblings of and subsequent to any (ol) element
ps: the second selector is wrong because of their is no (li) element by itself.