SmokinClove's (mainly) CSS Nonsense

TIL#8

July 24, 2019

This selector targets all of the siblings of a particular element. For example, if you wanted to target paragraphs in the same hierarchy as your level-1 headings, you would do:

h1~p { color: red; }

Also, tips for CSSBattle https://www.sitepoint.com/code-challenge-2-4-tips-for-higher-scores-in-cssbattle-dev/


SmokinClove

SmokinClove, currently lives in Singapore. Her Twitter handle is inspired by a quote by Kuroko Tetsuya from Kuroko no Basuke: "I am a shadow"