teammixture / mixture.io

Mixture site
11 stars 3 forks source link

liquid in css #4

Open softlimit-ben opened 9 years ago

softlimit-ben commented 9 years ago

Curious if there's any way to use liquid in CSS with Mixture? For instance, within Shopify, you can have a file named "styles.scss.liquid" with various liquid tags inside that will parse as css.

My end goal here is to have a featured image for a post as a header background image on the post. So, something along the lines of : background: url({{ post.featured-img }}) no-repeat top center/cover;. Any thoughts on how to achieve this dynamically for multiple posts with Mixture?