html页面用动画构建3D效果
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/css" media="screen">
body {
background-color: #263238;
color: white;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 12px;
background-image: -webkit-gradient(radial,
50% 500, 1
50% 500, 400,
from(rgba(255,255,255,0.3)),
to(rgba(255,255,255,0))
);
background-repeat: no-repeat;
}
#container {
width: 100%;
height: 1000px;
perspective: 800;
perspective-origin: 50% 225px;
}
#stage {
width: 100%;
height: 100%;
transition: transform 2s;
transform-style: preserve-3d;
}
#sha