Last active
May 2, 2017 07:26
-
-
Save ktzanev/918c87d7e6b9bbaa83964229fc63b6b7 to your computer and use it in GitHub Desktop.
SVG - rect (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> | |
<rect stroke="black" fill="magenta" fill-opacity=".7" | |
x="5" y="25" rx="10" ry="10" width="90" height="50"/> | |
</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