One of the cornerstones of responsive design is the media query. The @media directive provides a mechanism for serving different styles to different devices with different characteristics. Sass both supports and extends the @media rule.
While CSS isn’t a programming language, it includes some programming-like features. For example @-rules provide a simple control mechanism for running one block of code instead of another. Sass as you would guess extends these rules and provides a few of its own.
Happy New Year. I hope you’ve recovered from the weekend and are feeling back into the swing of things. Are you ready for 2016? I know I am. I’ve been thinking about what I’d like to accomplish this year.
Happy Holidays. It’s become tradition for my last post of the year to review the goals I set at the start of the year and I see no reason to break tradition today.
Creating SVG text along a path opens up some interesting and creative possibilities. Last week I showed you the
<textPath> element and how to add a reference to a path you define. I also showed you the startOffset attribute so you can position the text somewhere along the path other than the start.