HTML中css和JavaScript制作个人相册网页
要求:
掌握HTML常用标签
掌握CSS常用属性
掌握JS入门语法
源代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>相册</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background: url(img/14.jpg);
background-size: 100%;
}
.box {
width: 320px;
height: 200px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
transform-style: preserve-3d;
animation: im 35s l