DEV Community

Discussion on: Get started with CSS art - make a sheep! Step by step

Collapse
 
fossheim profile image
Sarah

What I did when I got started was looking for images (actual pictures), and then try to replicate them as well as possible in CSS. It's a lot of playing around with positioning, borders, shadows and gradients.

Collapse
 
s_aitchison profile image
Suzanne Aitchison

That reminds me! There was a nice article I saw on here which suggested adding your reference image as a background you can trace over - I haven't tried it myself, but could be a fun experiment:

Thread Thread
 
fossheim profile image
Sarah

I've never traced it as a background image, that's an interesting approach I might try next time. I usually open the image in another program (like Figma or Sketch) to measure the sizes and pick the colors.
Wrote two articles on that method:
dev.to/fossheim/how-i-recreated-a-...
dev.to/fossheim/re-creating-a-maci...