• Theory
  • Theory

Challenge: Flexible Margins

Original image dimensions — 140140. Add <svg> desired attributes so that given the current dimensions of the SVG element, margins will fill all of the available space.

  • index.html
HTML
HTML

You’ve gone to a different page

Click inside the mini-browser to shift the focus onto this window.

100%
Granny Muffin

Easy there, pal!

To access the Dimensions in SVG challenges in the SVG basics, you need to sign up and subscribe first.