Custom looking dividers between CSS grid items are tricky. The CSS Gaps Module Level 1 solved this problem, the spec is amazing and so powerful. Yes, the dividers are animatable ❣️
Here is a good explainer by a couple of Microsoft folks.
developer.chrome.com/blog/gap-dec...
#css
developer.chrome.com
A new way to style gaps in CSS from Chrome and Edge 149.