Last active
April 2, 2017 18:18
-
-
Save ktzanev/11b6dcfe4a0a1105ba548b58b444fbbd to your computer and use it in GitHub Desktop.
SVG - line (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> | |
<line stroke="red" stroke-width="2" | |
x1="10" y1="10" x2="90" y2="70" /> | |
</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