Solved with CSS! Logical Styling Based on the Number of Given Elements

Una Kravets / filed under HTML & CSS

Did you know that CSS is Turing complete? Did you know that you can use it to do some pretty serious logical styling? Well you can! You don’t have to set all of your logic-based styling rules in JavaScript, or even have to use JavaScript to set classes you are styling against. In many cases, […]

Join thousands of product people and get the latest articles and resources from my curation every day or week.