Skip to content

Instantly share code, notes, and snippets.

@danfascia
Created December 22, 2018 19:21
Show Gist options
  • Save danfascia/8b01bdddec291074831d77f3c7b4adbb to your computer and use it in GitHub Desktop.
Save danfascia/8b01bdddec291074831d77f3c7b4adbb to your computer and use it in GitHub Desktop.
Prevents a gap at the bottom of a container containing an SVG intended to be bottom placed (i.e. as a bottom border shape)
<svg style="display: block; position: absolute; width: 100%; bottom: 0; top: 100%">
<line id="HorizontalLine1118" x1="0" x2="100%" y1="0" y2="0"></line>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment