Last active
March 26, 2017 14:39
-
-
Save ktzanev/328bef87915e66c038a7cafbd8e1de52 to your computer and use it in GitHub Desktop.
SVG - text (GistRun)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Exemple commande SVG</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Exemple commande SVG</h1> | |
<svg viewBox="0 0 200 100"> | |
<circle cx="10" cy="20" r="1" fill="red" /> | |
<text x="10" y="20" fill="ForestGreen">Voilà !</text> | |
</svg> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svg { | |
border: 1px solid #eef; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment