<!DOCTYPE html> | |
<html> | |
<head> | |
<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"> | |
<rect id="redSquare" width="100" height="100" fill="red" opacity=".59"></rect> | |
</svg> | |
</body> | |
</html> |