6 ms·
This is a fun proof of concept, but it isn't what CSS is used for. There's no conceivable reason you'd do this in practice.
by karaterobot 3y ago
This is a fun proof of concept, but it isn't what CSS is used for. There's no conceivable reason you'd do this in practice.
- JaDogg 3y agoThose you know it well can abuse it in a fun way. Probably not useful in practice. Nevertheless this proves talent of the one who wrote it.
- karaterobot 3y agoA better test for someone using CSS would be activities that CSS is typically used for. Have them make a complex layout that is responsive at multiple display sizes, or have them architect a set of reusable classes for a design library or something. You may think that this sort of cleverness is generalizable: that someone who would come up with this solution would also be good at laying out web components. But there is no relationship between this (very neat) trick and CSS skills, so it would be a terrible test to give people.
- JaDogg 3y agoFair enough.