All posts in " Sass "
0 Shares

Build a Style Guide Straight from Sass

By seorocket / 3 weeks ago

Last fall, our dev team wanted to get started with style guides. We had added a new member to the team, and as he was getting up to speed, we realized how lacking our project documentation was. If you’ve ever been a new developer on a team with weak documentation, you know how confusing it […]

0 Shares

A Thing To Know about Gradients and “Transparent Black”

By seorocket / a few months ago

Say you have a gradient in CSS that goes from red to transparent. Easy, right? Like this: .element { background: linear-gradient( to bottom, red, transparent ); } There is a pretty big gotcha here, though. In Chrome (also Android), Firefox, and Edge, you’d be all good. But in Safari (also iOS), you’d not be good. […]

0 Shares

From Sass to PostCSS

By seorocket / a few months ago

Tyler Gaw documents his process of moving off Sass and onto PostCSS, but keeping most of the code the same. That meant making sure he was using PostCSS plugins that would replicate most of Sass’ functionality, like nesting and mixins and whatnot. Tyler is sold. I find it an interesting experiment, and it’s cool to […]

0 Shares

Loops in CSS Preprocessors

By seorocket / 6 months ago

If you’ve ever watched old sci-fi flicks, you know how powerful loops can be. Feed your robot nemesis an infinite loop, and kaboom. Robo dust. Preprocessor loops will not cause dramatic explosions in space (I hope), but they are useful for writing DRY CSS. While everyone is talking about pattern libraries and modular design, most […]

Page 1 of 2