IN which we investigate using CSS as a query language, or even a general purpose programming language, to do things other than lay out web pages in a browser.
Question: Why in God’s good name would you do that? CSS is infamously confusing. And better query languages exist, right? Such as SQL, which famously doesn’t have problems.
Answer: Because it’s there.
Read in full here: