Responsive inline SVG

Created on 22 June 2018, over 6 years ago
Updated 22 January 2024, 11 months ago

It would be really useful if, with the online output, a div with the style was optionally added with the "padding-bottom" calculated based on viewport in order to maintain the aspect ratio. It would also be necessary to remove the width and height parameters specified within the SVG.

In this way we would have responsive SVG that we could use with IExplorer.

Here is a more detailed explanation

http://slides.com/dudleystorey/deck-3#/14

Currently I do it with a text editor on the SVG, but it is a nuisance.

Regards.

Feature request
Status

Active

Version

2.3

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024