Dynamically change css values based on liquid variables

This worked wonders, thanks!