css if() just landed, Iβm struggling to understand what I an do with this that I canβt do with something as old as classes. I can get it if I donβt have control over html creation or js to add classes. The example that Una shows includes data that could directly be a classname with a set of styles in css rather than this crazy css variable unpacking out of a data attribute and an if statement.
Note
This post is a thought. Itβs a short note that I make about someone elseβs content online #thoughts