I've had this image forever, and I refer to it all the time.

For some reason, even with all the CSSing I do, I continuously forget which parts are called what. Thank you, kind JPG, for reminding me!

#css

@pixelambacht I'm always confused if there should be : or :: for some pseudo things, and I never learn since before and after support both, for legacy reasons. This image is very helpful!

@gundersen @pixelambacht It's officially a double colon for pseudo-elements, but it's still accepted as a single colon for backward compatibility reasons.

I would use doubles in the new code, though.