Change the aspect ratio of an image using CSS
24/09/2021In this post I'll show you how to change the aspect ratio of an image or element using CSS, and explain why this is important.
In this post I'll show you how to change the aspect ratio of an image or element using CSS, and explain why this is important.
You probably know a few tricks for changing bullet colour and icon of a html list element using CSS, but this one might be new!
Did you know that Sass offers debugging tools to make CSS styling easier? Learn how to use @debug, @warn and @error to send debug messages to your console.
Using conditional statements in Sass and SCSS. Learn how to use @if, @else, @else if and @if not in this simple tutorial.
How do you do For, Each and While loops in Sass and SCSS. Learn how to loop in Sass using this simple tutorial, with examples.
Learn some tricks to work with overflow, overflow-x and overflow-y:hidden. Lets fix hiding overflow on a single axis only and escape child elements.