blob: 069d9b18d68c232f799a7abf1e43d45c6e56d1b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>svg1</title>
<style>
.container { width: 33%; }
.circle1 { fill: #F90; }
.circle2 { fill: #09F; }
svg {
width: 100%;
height: 100%;
border: 1px solid;
}
</style>
</head>
<body>
<h1>svg1</h1>
<div class="container">
<svg viewbox="0 0 200 160">
<ellipse class="circle1" cx="60" cy="60" rx="80" ry="80" fill="#f00" />
<ellipse class="circle1" cx="180" cy="80" rx="40" ry="40" />
<ellipse class="circle2" cx="160" cy="200" rx="100" ry="60" />
</svg>
<svg viewBox="0 0 20 10">
<polygon fill=red stroke-width=0
points="0,10 20,10 10,0" />
</svg>
</div>
</body>
</html>
|