Susy

How to Reset Susy's Span or Gallery

Did your span or gallery mixin behave unexpectedly (like the image below) when you’re using Susy?

Span and Gallery Problem

You’re not alone. Many people have faced the same problems I outlined above. When they meet with these problems, the common question was how to “reset” the output from the span, or the gallery mixin, so the weird behavior goes away, but that’s not the best way to fix the problem.

In this article, I’m going to show you why “resetting” is the wrong approach and what you can do instead.

Moving from HTML Grid Systems to CSS Grid Systems

I think it was a few months ago where someone asked me if I had any pointers to help them transit from Bootstrap’s dom-littering .col classes to either Susy or Neat. It struck me that I haven’t talked about this even though I’ve been using Susy grids for so long!

Anyway, this transition is a fairly big undertaking if you’re doing it for the first time. Allow me to walk you through a four-step process that I use in this article.

Common Problems With Susy Gallery And How To Solve Them

Susy has a gallery() mixin that helps us create galleries easily. It abstracts away a lot of complexity. Because of this abstraction, it sometimes leaves people puzzled about why something isn’t working. This often boils down to two problems.

This post reveals the two problems and shows you how to solve them.

How to use Masonry with Susy

Masonry is a popular JavaScript library that helps you create a pinterest-like gallery even if your content has irregular heights and widths.

This article is here to help you out if you’re having trouble using Masonry with Susy.

Learning Susy Update Is Going To Be Delayed

I mentioned that Learning Susy will be updated with more content by 31st January. Unfortunately, I’m afraid I have to disappoint. I’m sorry.

Letting you down sucks, but it just doesn’t feel right to apologize and shrug it off. I want to be honest about my failures and learnings to make sure that I won’t fail to deliver again. Hence, the reason for this blog post.

How To Write Mobile-first CSS

Building responsive websites is a must-have skill for front-end developers today. When we speak about responsive websites, the term mobile-first pops into mind immediately.

We know the importance of designing from a mobile-first perspective. Unfortunately, much less was said about coding from a mobile-first approach.

Today, I’d like to share with you about the mobile-first approach to styling, why it is much better, and how to work its magic.

Note: This article will be immensely helpful if you are learning to build responsive layouts with Susy.

I'm Going To Make The Learning Susy Book Better, And What That Means For You

It’s been 3 months since Learning Susy has been released and the support from the community has been wonderful. It’s heartening to see so many people start to learn about Susy, and how they have benefited as a result.

I have learned a lot more about what people are looking for since releasing the book through observations, questions and surveys, and I feel that I am now able to make Learning Susy 10x better.

In this post, I’d like to share with you my observations of issues that people often encounter, how I intend to help solve these issues in the next version of Learning Susy, and what all this means to you.

Fix 90% of Your Problems With Susy by Getting This One Concept Right

In the last month, I had the privilege of helping a few people find out what went wrong with their Susy code while suggesting a few areas of improvement.

I noticed one problem kept popping up in the questions I answered. People find it difficult to get Susy to work correctly in nested grids. They sometimes employ workarounds that tweak Susy so badly that it hinders instead of helps.

Even though Susy is built to be extremely flexible and easy to use, it has its own key concepts and rules like all other frameworks. You will need to understand these concepts to get Susy to work for you properly.

I’ll like to share one of these concepts with you today to help you overcome a large majority of your Susy problems.

How to Create Off Canvas Layouts with Susy

Off-canvas layouts have became an increasingly common design pattern for many websites. They are often used to create additional space in most mobile layouts. Quite a few articles on the web have explained how to code these layouts with CSS and JavaScript. Today, let’s have a quick look at how to do the same using Susy.

Smarter Layouts with Susy

I chanced upon heydon’s Codepen for creating self-correcting grids with pseudo classes a while ago and that totally blew my mind away. I started to think about how we can use pseudo selectors to create smarter HTML layouts and I have summarised my thoughts on this in this article.