实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
AخA
 
1
<!DOCTYPE html>
2
<html lang="zh-CN">
3
<head>
4
<meta charset="utf-8">
5
<title>全屏/整屏滚动组件fullPage演示-CSS3旋转缩放</title>
6
<style>
7
body,  div,  p { margin: 0; padding: 0;}
8
ul { list-style: none;}
9
html { overflow: hidden;}
10
body { width: 100%;  *cursor: default;
11
overflow: hidden; font: 16px/1.5 "Microsoft YaHei", Helvetica, STHeiti STXihei, Microsoft JhengHei, Arial;}
12
#pageContain { overflow: hidden;}
13
.page { display: none; width: 100%; height: 100%; overflow: hidden; position: absolute; top: 0; left: 0;}
14
.contain { width: 100%; height: 100%; display: none; position: relative; z-index: 0;}
15
.current .contain, .slide .contain { display: block;}
16
.current { display: block; z-index: 1;}
17
.slide { display: block; z-index: 2;}
18
.swipe { display: block; z-index: 3; transition-duration: 0ms !important; -webkit-transition-duration: 0ms !important;}
19
.page1 { background: #37c1e3;}
20
.page2 { background: #009922;}
21
.page3 { background: #992211;}
22
.page4 { background: #ff00ff;}