A clever CSS-Tricks piece showing how the newer :nth-child() “n of selector” syntax can handle date-range selection on a calendar with surprisingly little JavaScript.
Here’s the visual that shows how CSS can do date-range selection without quite losing its dignity.
Arthur
