CSS is a mess. First introduced in ~1995, it was meant to style basic text documents. Not websites. Not applications. Text documents. It has come a long way since then. Probably a bit too long. On the bright side, this is what makes CSS fun (or kinda)! And this is also why we have jobs.