27th January 2020 at 17:11
? CSS pro tip
If you want to select SVG elements, use this CSS.
Super handy as SVG won’t fill the width if they’ve just got max-width: 100%
on them.
Gist: https://gist.github.com/hankchizljaw/958b1f46d39931bfaed63c2b3e09f59d
👋 Hello, I’m Andy and this is my little home on the web.
I’m the founder of Set Studio, a creative agency that specialises in building stunning websites that work for everyone and Piccalilli, a publication that will level you up as a front-end developer.
Back to blog