- using the "em" unit
@currankelleher's famous introToD3 examples
artisanally ported to blockbuilder.org by @micahstubbs
@currankelleher's famous introToD3 examples
artisanally ported to blockbuilder.org by @micahstubbs
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>CSS Example</title> | |
<style> | |
text { | |
font-size: 2em; | |
} | |
</style> | |
</head> | |
<body> | |
<svg width="300" height="250"> | |
<text x="50" y="50">Hello SVG Text!</text> | |
</svg> | |
</body> | |
</html> |