<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS Reference File</title> | |
<link rel="author" title="windtale" href="mailto:windtale@163.com"> | |
<style type="text/css"> | |
#svgMain { | |
top: 100px; | |
left: 100px; | |
width: 200px; | |
height: 200px; | |
background: blue; | |
} | |
</style> | |
</head> | |
<body> | |
<svg id="svgMain"> | |
<text id="lblTxt" y="55">Text with SVG background</text> | |
</svg> | |
</body> | |
</html> |