Course lesson
Use Inline CSS Variables to Position Elements
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.
- 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.