Created
October 21, 2017 09:39
-
-
Save perey/4512b9a060a61320c36f9daa90bf82cb to your computer and use it in GitHub Desktop.
Test case for styling of SVG <use> element referencing an external file
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="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Test case: SVG-in-HTML use from external file</title> | |
</head> | |
<body> | |
<svg width="100px" height="100px" viewBox="0 0 100 100"> | |
<use xlink:href="resource.svg#red-ring"/> | |
</svg> | |
<svg width="100px" height="100px" viewBox="0 0 100 100"> | |
<use xlink:href="resource.svg#very-definitely-red-ring"/> | |
</svg> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment