<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hello, World</title>
<style type="text/css">
html{height:100%}
body{height:100%;margin:0px;padding:0px}
#container{height:100%}
@keyframes myfirst
{
10% {transform :scale(1);}
100% {transform :scale(8);}
}
@keyframes action_skew{
0%{opacity: 0;}
50%{ opacity: 0.2;}
100%{ opacity: 1;}
}
.realdata{
font-size:10px;
color:#669A58;
}
</style>
</head>
<body>
<div class="content" id="content">
<div class="one" style="width:4px;height:4px;background-color:red;border: 6px #009FD9 solid;border-radius:50%;margin:10px;position: relative;">
<p style="position: absolute;width:4px;height:4px;border-radius:50%;box-shadow: 0px 0px 1px #009FD9;animation: myfirst 1.5s infinite;margin: 0px;"></p>
<span style="position: absolute;width:10px;height:10px; border-radius:50%;box-shadow: 0px 0px 1px #009FD9;animation: myfirst 1.5s infinite;margin: 0px;animation-delay: 0.8s;"></span>
</div>
</div>
<div id="container"></div>
<script type="text/javascript" src="/assets/js/mapdata2.js"></script>
</body>
</html>
aaa.html
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<style type="text/css">
.line {
stroke-width: 4px;
stroke: red;
stroke-dasharray: 400;
stroke-dashoffset: 400;
animation: move 2s;
}
@keyframes move {
to {
stroke-dashoffset: 0;
}
}
</style>
<svg
style="background:#007fff"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
<!-- viewBox定义-->
viewBox="0, 0, 50, 50"
width="300"
height="300" >
<circle cx="10" cy="10" r="49" stroke="black"
stroke-width="1" fill="red" />
<rect width="100" height="100" x="20" y="20" rx="30" ry="30" style="fill:rgb(255,255,0);stroke-width:4;
stroke:rgb(0,0,0);fill-opacity: .6;stroke-opacity: .5;" />
<path d="M0 100 H400" class="line"></path>
</svg>