Use Inline CSS Variables to Position Elements

InstructorJhey Tompkins

Share this video with your friends

Send Tweet

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.