Duration
3 min
Access
Free
Transcript
Needs source

By generating inline CSS variables with a markup preprocessor like Pug, we're able to generate CSS variables for positioning based on a loop index.