How to get started with Sass

Sass is a powerful tool that brings many features from other programming languages into CSS – such as functions, variables and loops – as well as bringing its own intuitive features such as mixins, nesting and partials to name a few.

In this tutorial we'll be creating social icons using Sass loops, mixins and functions. We'll also be using the powerful nesting available in Sass.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Steven Roberts

Steven is a digital creative from Stockton-on-Tees, UK. An experienced Head of UX, Steven has written a number of articles on web design and front-end development, as well as delivering a talk at CSSConf Budapest on the potential of CSS animations. He is currently Head of UX at Aero Commerce.

Read more
Promo for Future Cards with the tagline "Leave the busywork to the machines"
What makes good designers great? Stand out from the crowd with these 9 expert tips
Threads
How to use the new social networks effectively as a creative
Photograph of laptop with Shopify sticker, on table beside coffee mug, with woman on her phone out of focus in background
How to use Shopify: tips for beginners
A desktop with a colourful portfolio on screen
How to create an online portfolio: Steps to curating your own corner of the web
Studio Moross graphics
12 skills to help designers get ahead in 2025, advice from the pros
Rikhard Hormia creative resume
How to make a creative résumé: top tips and design examples
Latest in Web Design & Development Software
screenshot of Framer landing page
5 seriously useful AI web design tools
Temu Shopping app on Samsung phone
I made my first order on Temu and this is how it went
Dev mode in Figma
Figma’s awesome new Dev Mode brings designers and developers together
some coins on a mobile phone
What is Web3? and is Apple getting involved?
Scott Belksy talks to Dylan Field at Adobe Max
Adobe just revealed the first change coming to Figma after acquisition
Figma and Adobe logos on a white background
Adobe is buying Figma, and creatives have... concerns
Latest in How to
Rob Redman's snowy image illustrates the AE tutorial: TDW313.PT_AE_Snow.indd
How to create realistic snow with particle systems using After Effects
Ivan Mironenko ZBrush character tutorial
Craft a game-ready character asset using ZBrush and Substance 3D Painter
Oliver Schümann ZBrush bizarre baby tutorial
Create a bizarre baby sculpture in ZBrush
Alireza Khoshpayam arch-viz tips
Speedy tips to create beautifully photoreal archviz using 3ds Max and Corona
Maya 3D abstract strands tutorial
How to easily create complex and abstract animation using Maya
Whiskytree battle damage effects tutorial
Create gnarly battle damage for vehicles using a mix of Maya and Nuke