Let's chat SASS.

Sass css yasmin stageman

Having been a Java developer (many years ago) I have experience in object orientated languages but I haven't used many of them since my Java days. For good reason! I've recently discovered SASS and I feel it's a brilliant inbetween of missing CSS with variables that ultimately safe time and code! I've included a snippet below of how I've used it on my website to set fonts.

How I've used SASS

You'll see from the code below that I've set my font family to a variable called main body font which means I only need to change the font of the entire site from one variable. All elements that use that variable will then dynamically change from the scss. Winning!

/* Fonts */ $mainBodyFont: Poppins; .body { font-family: $mainBodyFont; }