Strikethrough without images

Looking to add a background strikethrough effect, perhaps for headers like we do here on Spigot? Look no further. // Markup <h2 class=”strikethrough”><span>My Awesome Headline</span></h2> // CSS .strikethrough { font-size: 13px; text-align: center; margin-bottom: 45px; border-bottom: 1px solid black; } .strikethrough span { background: white; position:relative; top: 8px; padding: 0 15px; } You may have…

Read More

Nested retina media queries with Sass

Since switching from LESS to Sass I’ve been excited to learn how Sass makes responsive web design easier with @content blocks and @media mixins. During a recent project I was interested to know if these mixins could be combined and nested with retina based media queries (mq). Could a retina-based mq be nested within a…

Read More