Lately, I have spent a decent amount of time working with Eduardo Bouças on include-media. We went through a lot of refactoring so decided to write some tests and run them on every commit to be sure we did not break anything. I'll go through the details in this article.
If you don't know include-media yet, it is a very lightweight yet powerful breakpoint manager in Sass.
The provided public API is a single mixin, media(..) (hence the name of the library), but the whole thing is well thought enough so you can actually do wonders with it. A short example before getting started:
Continue reading %Testing a Sass Library%
by Hugo Giraudel via SitePoint
No comments:
Post a Comment