11 lines
452 B
HTML
11 lines
452 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<p>This blue rectangle is drawn via SVG.</p>
|
|
|
|
<div style="width:600px;height:200px;background-color:lime; position:relative">
|
|
<svg viewBox="0 0 300 100" preserveAspectRatio="xMidYMid" style="position:absolute;top:0;right:0;bottom:0;left:0">
|
|
<<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
|
|
</svg>
|
|
</body>
|