Answer the question
In order to leave comments, you need to log in
How to control the size of the viewBox in svg depending on the width of the browser viewport?
I have a logo with text like this
.
I hide the text "WordPress" using media queries depending on the width of the viewport (only screen and (max-width: 768px)), but the width of the viewbox does not become smaller. Is it possible to adapt the logo without js and without an additional shortened file?
codepen.io/anon/pen/rywmVq
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question