/* Universal Selector */ * { margin: 0; padding: 0; background-color: gray; } .container { margin: 100px; line-height: 50px; margin-left: 600px; font-size: xx-large; } div li:nth-child(2) { color: dodgerblue; } div li:nth-of-type(3) { color: red; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter