Better CSS Shapes Using shape() — Part 4: Close and Move
shape()
function's close
and move
commands may not be ones you reach for often, but are incredibly useful for certain shapes. shape()
function's close
and move
commands may not be ones you reach for often, but are incredibly useful for certain shapes. shape()
function. We've covered drawing lines and arcs in previous articles and, this time, we look specifically at the curve
command and how to use it for drawing complex shapes. shape()
command, continuing with a more detailed look at the arc
command. After Part 1 and Part 2, I am back with a third article to explore more fancy shapes. Like the previous articles, we are going to combine CSS Grid with clipping and masking to create fancy layouts for image …
We’ve spent the last two articles in this three-part series playing with gradients to make really neat image decorations using nothing but the <img>
element. In this third and final piece, we are going to explore more techniques using the …
Welcome to Part 2 of this three-part series! We are still decorating images without any extra elements and pseudo-elements. I hope you already took the time to digest Part 1 because we will continue working with a lot of gradients …
As the title says, we are going to decorate images! There’s a bunch of other articles out there that talk about this, but what we’re covering here is quite a bit different because it’s more of a challenge. The challenge? …
Alright, so the last time we checked in, we were using CSS Grid and combining them with CSS clip-path
and mask
techniques to create grids with fancy shapes.
Here’s just one of the fantastic grids we made together:…