• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 9

SVG: reduction and enlargement

Is it possible to reduce the size of an SVG when its surroundings are also reduced? Here is an example of the problem. https://code.sololearn.com/WtyLyd7Ew6Ft/?ref=app

svg
28th Aug 2019, 1:15 PM
Mr.Fish
Mr.Fish - avatar
1 Antwort
+ 4
add a viewbox attribute to the svg element https://code.sololearn.com/WSJ6G6h7xGIe/?ref=app my video tutorial https://youtu.be/NwhRS6VUwVU
28th Aug 2019, 2:57 PM
Gordon
Gordon - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Can you give me some advice on what project I can start with today to practice HTML, CSS, and JavaScript?
0 Votes
I've a HTML code question
0 Votes
Offline AI Model with Fast Voice Chat
2 Votes
C++
0 Votes
Appointment Booking website
0 Votes
Give me advice
1 Votes
Does anyone know how to go to another "page" on the same page using the HTML button tag?
1 Votes
HELP ME LEARN
0 Votes
How my gradient is so mess I code in vscode and copied here to ask some questions please help me with this one too
0 Votes
Please tell me about methods
1 Votes