├── img-one ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── 01.jpg ├── 02.jpg ├── 03.jpg ├── 04.jpg ├── 05.jpg ├── 06.jpg ├── 开始.png └── 暂停.png ├── img-two ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── 01.jpg ├── 02.jpg ├── 03.jpg ├── 04.jpg ├── 05.jpg ├── 06.jpg ├── 开始.png └── 暂停.png ├── mp3 ├── 沉醉的青丝.mp3 └── 白月光与朱砂痣.mp3 ├── README.md ├── css ├── style1.css └── style2.css ├── index1.html └── index2.html /img-one/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/1.jpg -------------------------------------------------------------------------------- /img-one/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/2.jpg -------------------------------------------------------------------------------- /img-one/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/3.jpg -------------------------------------------------------------------------------- /img-one/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/4.jpg -------------------------------------------------------------------------------- /img-one/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/5.jpg -------------------------------------------------------------------------------- /img-one/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/6.jpg -------------------------------------------------------------------------------- /img-two/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/1.jpg -------------------------------------------------------------------------------- /img-two/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/2.jpg -------------------------------------------------------------------------------- /img-two/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/3.jpg -------------------------------------------------------------------------------- /img-two/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/4.jpg -------------------------------------------------------------------------------- /img-two/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/5.jpg -------------------------------------------------------------------------------- /img-two/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/6.jpg -------------------------------------------------------------------------------- /mp3/沉醉的青丝.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/mp3/沉醉的青丝.mp3 -------------------------------------------------------------------------------- /img-one/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/01.jpg -------------------------------------------------------------------------------- /img-one/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/02.jpg -------------------------------------------------------------------------------- /img-one/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/03.jpg -------------------------------------------------------------------------------- /img-one/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/04.jpg -------------------------------------------------------------------------------- /img-one/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/05.jpg -------------------------------------------------------------------------------- /img-one/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/06.jpg -------------------------------------------------------------------------------- /img-one/开始.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/开始.png -------------------------------------------------------------------------------- /img-one/暂停.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-one/暂停.png -------------------------------------------------------------------------------- /img-two/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/01.jpg -------------------------------------------------------------------------------- /img-two/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/02.jpg -------------------------------------------------------------------------------- /img-two/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/03.jpg -------------------------------------------------------------------------------- /img-two/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/04.jpg -------------------------------------------------------------------------------- /img-two/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/05.jpg -------------------------------------------------------------------------------- /img-two/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/06.jpg -------------------------------------------------------------------------------- /img-two/开始.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/开始.png -------------------------------------------------------------------------------- /img-two/暂停.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/img-two/暂停.png -------------------------------------------------------------------------------- /mp3/白月光与朱砂痣.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dxzhang2020/PhotoWall/HEAD/mp3/白月光与朱砂痣.mp3 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PhotoWall 2 | 3D樱花照片墙 3 |
效果demo 4 |
https://dexiongzhang.github.io/PhotoWall/index1.html 5 |
https://dexiongzhang.github.io/PhotoWall/index2.html 6 | -------------------------------------------------------------------------------- /css/style1.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | * { 4 | margin: 0; 5 | padding: 0; 6 | } 7 | 8 | body { 9 | max-width: 100%; 10 | min-width: 100%; 11 | height: 100%; 12 | background-size: cover; 13 | background-repeat: no-repeat; 14 | background-attachment: fixed; 15 | background-size: 100% 100%; 16 | position: absolute; 17 | margin-left: auto; 18 | margin-right: auto; 19 | } 20 | 21 | /*背景音乐*/ 22 | .m-main { 23 | width: 380px; 24 | height: 60px; 25 | margin: 0 auto; 26 | position: fixed; 27 | right: 30px; 28 | } 29 | 30 | .m-main video { 31 | display: none; 32 | } 33 | 34 | .m-main .player { 35 | width: 100%; 36 | height: 60px; 37 | position: relative; 38 | bottom: 0; 39 | } 40 | 41 | .m-main .player>a { 42 | display: inline-block; 43 | width: 20px; 44 | margin: 0 auto; 45 | padding: 10px; 46 | color: #FFF; 47 | text-align: center; 48 | float: left; 49 | font-size: 12px 50 | } 51 | 52 | .m-main .player>a img { 53 | width: 30px; 54 | height: 30px; 55 | position: absolute; 56 | top: 20px; 57 | left: 41px; 58 | } 59 | 60 | #img1 { 61 | display: block; 62 | } 63 | 64 | #img2 { 65 | display: none; 66 | } 67 | 68 | .m-main .play-box { 69 | width: 300px; 70 | height: 60px; 71 | margin: 0 auto; 72 | position: absolute; 73 | top: 0; 74 | right: 0; 75 | } 76 | 77 | .m-main .play-box .left { 78 | width: 100%; 79 | float: left; 80 | } 81 | 82 | .m-main .play-box .left p.timeline { 83 | width: 33%; 84 | height: 10px; 85 | background-color: rgba(216, 216, 216, 0.5); 86 | border-radius: 5px; 87 | margin: 30px auto 0; 88 | position: relative; 89 | z-index: 2; 90 | } 91 | 92 | .m-main .play-box .left p.timeline span { 93 | position: relative; 94 | width: 0; 95 | height: 10px; 96 | background-color: #D3EEDF; 97 | border-radius: 5px; 98 | display: block; 99 | -webkit-transition: width ease-out 0.3s; 100 | -o-transition: width ease-out 0.3s; 101 | transition: width ease-out 0.3s; 102 | } 103 | 104 | .m-main .play-box .left p.timeline span:after { 105 | content: ""; 106 | position: absolute; 107 | top: -4px; 108 | right: -0.6rem; 109 | width: 1.2rem; 110 | height: 1.2rem; 111 | border-radius: 50%; 112 | background-color: green; 113 | } 114 | 115 | .m-main .play-box .left div.info { 116 | height: 26px; 117 | line-height: 26px; 118 | font-size: 14px; 119 | color: #9A9A9A; 120 | position: relative; 121 | top: -18px; 122 | margin: 0 10px; 123 | z-index: 1; 124 | } 125 | 126 | .m-main .play-box .left div.info .size { 127 | float: left; 128 | display: block; 129 | } 130 | 131 | .m-main .play-box .left div.info .timeshow { 132 | float: right; 133 | display: block; 134 | margin-right: 30px 135 | } 136 | 137 | /* ----------------------------------------------- */ 138 | li { 139 | list-style: none; 140 | } 141 | 142 | .box { 143 | width: 200px; 144 | height: 200px; 145 | background-size: cover; 146 | background-repeat: no-repeat; 147 | background-attachment: fixed; 148 | background-size: 100% 100%; 149 | position: absolute; 150 | margin-left: 42%; 151 | margin-top: 22%; 152 | -webkit-transform-style: preserve-3d; 153 | -webkit-transform: rotateX(13deg); 154 | -webkit-animation: move 5s linear infinite; 155 | } 156 | 157 | .minbox { 158 | width: 100px; 159 | height: 100px; 160 | position: absolute; 161 | left: 50px; 162 | top: 30px; 163 | -webkit-transform-style: preserve-3d; 164 | } 165 | 166 | .minbox li { 167 | width: 100px; 168 | height: 100px; 169 | position: absolute; 170 | left: 0; 171 | top: 0; 172 | } 173 | 174 | .minbox li:nth-child(1) { 175 | background: url(../img-one/01.jpg) no-repeat 0 0; 176 | -webkit-transform: translateZ(50px); 177 | } 178 | 179 | .minbox li:nth-child(2) { 180 | background: url(../img-one/02.jpg) no-repeat 0 0; 181 | -webkit-transform: rotateX(180deg) translateZ(50px); 182 | /* transform: rotate(180deg); */ 183 | } 184 | 185 | .minbox li:nth-child(3) { 186 | background: url(../img-one/03.jpg) no-repeat 0 0; 187 | -webkit-transform: rotateX(-90deg) translateZ(50px); 188 | } 189 | 190 | .minbox li:nth-child(4) { 191 | background: url(../img-one/04.jpg) no-repeat 0 0; 192 | -webkit-transform: rotateX(90deg) translateZ(50px); 193 | } 194 | 195 | .minbox li:nth-child(5) { 196 | background: url(../img-one/05.jpg) no-repeat 0 0; 197 | -webkit-transform: rotateY(-90deg) translateZ(50px); 198 | } 199 | 200 | .minbox li:nth-child(6) { 201 | background: url(../img-one/06.jpg) no-repeat 0 0; 202 | -webkit-transform: rotateY(90deg) translateZ(50px); 203 | } 204 | 205 | .maxbox li:nth-child(1) { 206 | background: url(../img-one/1.jpg) no-repeat 0 0; 207 | -webkit-transform: translateZ(50px); 208 | } 209 | 210 | .maxbox li:nth-child(2) { 211 | background: url(../img-one/2.jpg) no-repeat 0 0; 212 | -webkit-transform: translateZ(50px); 213 | /* transform: rotate(180deg); */ 214 | } 215 | 216 | .maxbox li:nth-child(3) { 217 | background: url(../img-one/3.jpg) no-repeat 0 0; 218 | -webkit-transform: rotateX(-90deg) translateZ(50px); 219 | } 220 | 221 | .maxbox li:nth-child(4) { 222 | background: url(../img-one/4.jpg) no-repeat 0 0; 223 | -webkit-transform: rotateX(90deg) translateZ(50px); 224 | } 225 | 226 | .maxbox li:nth-child(5) { 227 | background: url(../img-one/5.jpg) no-repeat 0 0; 228 | -webkit-transform: rotateY(-90deg) translateZ(50px); 229 | } 230 | 231 | .maxbox li:nth-child(6) { 232 | background: url(../img-one/6.jpg) no-repeat 0 0; 233 | -webkit-transform: rotateY(90deg) translateZ(50px); 234 | } 235 | 236 | .maxbox { 237 | width: 800px; 238 | height: 400px; 239 | position: absolute; 240 | left: 0; 241 | top: -20px; 242 | -webkit-transform-style: preserve-3d; 243 | } 244 | 245 | .maxbox li { 246 | width: 200px; 247 | height: 200px; 248 | background: #fff; 249 | border: 1px solid #ccc; 250 | position: absolute; 251 | left: 0; 252 | top: 0; 253 | opacity: 0.2; 254 | -webkit-transition: all 1s ease; 255 | } 256 | 257 | .maxbox li:nth-child(1) { 258 | -webkit-transform: translateZ(100px); 259 | } 260 | 261 | .maxbox li:nth-child(2) { 262 | -webkit-transform: rotateX(180deg) translateZ(100px); 263 | } 264 | 265 | .maxbox li:nth-child(3) { 266 | -webkit-transform: rotateX(-90deg) translateZ(100px); 267 | } 268 | 269 | .maxbox li:nth-child(4) { 270 | -webkit-transform: rotateX(90deg) translateZ(100px); 271 | } 272 | 273 | .maxbox li:nth-child(5) { 274 | -webkit-transform: rotateY(-90deg) translateZ(100px); 275 | } 276 | 277 | .maxbox li:nth-child(6) { 278 | -webkit-transform: rotateY(90deg) translateZ(100px); 279 | } 280 | 281 | .box:hover ol li:nth-child(1) { 282 | -webkit-transform: translateZ(300px); 283 | width: 400px; 284 | height: 400px; 285 | opacity: 0.8; 286 | left: -100px; 287 | top: -100px; 288 | } 289 | 290 | .box:hover ol li:nth-child(2) { 291 | -webkit-transform: rotateX(180deg) translateZ(300px); 292 | width: 400px; 293 | height: 400px; 294 | opacity: 0.8; 295 | left: -100px; 296 | top: -100px; 297 | } 298 | 299 | .box:hover ol li:nth-child(3) { 300 | -webkit-transform: rotateX(-90deg) translateZ(300px); 301 | width: 400px; 302 | height: 400px; 303 | opacity: 0.8; 304 | left: -100px; 305 | top: -100px; 306 | } 307 | 308 | .box:hover ol li:nth-child(4) { 309 | -webkit-transform: rotateX(90deg) translateZ(300px); 310 | width: 400px; 311 | height: 400px; 312 | opacity: 0.8; 313 | left: -100px; 314 | top: -100px; 315 | } 316 | 317 | .box:hover ol li:nth-child(5) { 318 | -webkit-transform: rotateY(-90deg) translateZ(300px); 319 | width: 400px; 320 | height: 400px; 321 | opacity: 0.8; 322 | left: -100px; 323 | top: -100px; 324 | } 325 | 326 | .box:hover ol li:nth-child(6) { 327 | -webkit-transform: rotateY(90deg) translateZ(300px); 328 | width: 400px; 329 | height: 400px; 330 | opacity: 0.8; 331 | left: -100px; 332 | top: -100px; 333 | } 334 | 335 | @keyframes move { 336 | 0% { 337 | -webkit-transform: rotateX(13deg) rotateY(0deg); 338 | } 339 | 340 | 100% { 341 | -webkit-transform: rotateX(13deg) rotateY(360deg); 342 | } 343 | } -------------------------------------------------------------------------------- /css/style2.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | * { 4 | margin: 0; 5 | padding: 0; 6 | } 7 | 8 | body { 9 | max-width: 100%; 10 | min-width: 100%; 11 | height: 100%; 12 | background-size: cover; 13 | background-repeat: no-repeat; 14 | background-attachment: fixed; 15 | background-size: 100% 100%; 16 | position: absolute; 17 | margin-left: auto; 18 | margin-right: auto; 19 | } 20 | 21 | /*背景音乐*/ 22 | .m-main { 23 | width: 380px; 24 | height: 60px; 25 | margin: 0 auto; 26 | position: fixed; 27 | right: 30px; 28 | } 29 | 30 | .m-main video { 31 | display: none; 32 | } 33 | 34 | .m-main .player { 35 | width: 100%; 36 | height: 60px; 37 | position: relative; 38 | bottom: 0; 39 | } 40 | 41 | .m-main .player>a { 42 | display: inline-block; 43 | width: 20px; 44 | margin: 0 auto; 45 | padding: 10px; 46 | color: #FFF; 47 | text-align: center; 48 | float: left; 49 | font-size: 12px 50 | } 51 | 52 | .m-main .player>a img { 53 | width: 30px; 54 | height: 30px; 55 | position: absolute; 56 | top: 20px; 57 | left: 41px; 58 | } 59 | 60 | #img1 { 61 | display: block; 62 | } 63 | 64 | #img2 { 65 | display: none; 66 | } 67 | 68 | .m-main .play-box { 69 | width: 300px; 70 | height: 60px; 71 | margin: 0 auto; 72 | position: absolute; 73 | top: 0; 74 | right: 0; 75 | } 76 | 77 | .m-main .play-box .left { 78 | width: 100%; 79 | float: left; 80 | } 81 | 82 | .m-main .play-box .left p.timeline { 83 | width: 33%; 84 | height: 10px; 85 | background-color: rgba(216, 216, 216, 0.5); 86 | border-radius: 5px; 87 | margin: 30px auto 0; 88 | position: relative; 89 | z-index: 2; 90 | } 91 | 92 | .m-main .play-box .left p.timeline span { 93 | position: relative; 94 | width: 0; 95 | height: 10px; 96 | background-color: #D3EEDF; 97 | border-radius: 5px; 98 | display: block; 99 | -webkit-transition: width ease-out 0.3s; 100 | -o-transition: width ease-out 0.3s; 101 | transition: width ease-out 0.3s; 102 | } 103 | 104 | .m-main .play-box .left p.timeline span:after { 105 | content: ""; 106 | position: absolute; 107 | top: -4px; 108 | right: -0.6rem; 109 | width: 1.2rem; 110 | height: 1.2rem; 111 | border-radius: 50%; 112 | background-color: green; 113 | } 114 | 115 | .m-main .play-box .left div.info { 116 | height: 26px; 117 | line-height: 26px; 118 | font-size: 14px; 119 | color: #9A9A9A; 120 | position: relative; 121 | top: -18px; 122 | margin: 0 10px; 123 | z-index: 1; 124 | } 125 | 126 | .m-main .play-box .left div.info .size { 127 | float: left; 128 | display: block; 129 | } 130 | 131 | .m-main .play-box .left div.info .timeshow { 132 | float: right; 133 | display: block; 134 | margin-right: 30px 135 | } 136 | 137 | /* ----------------------------------------------- */ 138 | li { 139 | list-style: none; 140 | } 141 | 142 | .box { 143 | width: 200px; 144 | height: 200px; 145 | background-size: cover; 146 | background-repeat: no-repeat; 147 | background-attachment: fixed; 148 | background-size: 100% 100%; 149 | position: absolute; 150 | margin-left: 42%; 151 | margin-top: 22%; 152 | -webkit-transform-style: preserve-3d; 153 | -webkit-transform: rotateX(13deg); 154 | -webkit-animation: move 5s linear infinite; 155 | } 156 | 157 | .minbox { 158 | width: 100px; 159 | height: 100px; 160 | position: absolute; 161 | left: 50px; 162 | top: 30px; 163 | -webkit-transform-style: preserve-3d; 164 | } 165 | 166 | .minbox li { 167 | width: 100px; 168 | height: 100px; 169 | position: absolute; 170 | left: 0; 171 | top: 0; 172 | } 173 | 174 | .minbox li:nth-child(1) { 175 | background: url(../img-two/01.jpg) no-repeat 0 0; 176 | -webkit-transform: translateZ(50px); 177 | } 178 | 179 | .minbox li:nth-child(2) { 180 | background: url(../img-two/02.jpg) no-repeat 0 0; 181 | -webkit-transform: rotateX(180deg) translateZ(50px); 182 | /* transform: rotate(180deg); */ 183 | } 184 | 185 | .minbox li:nth-child(3) { 186 | background: url(../img-two/03.jpg) no-repeat 0 0; 187 | -webkit-transform: rotateX(-90deg) translateZ(50px); 188 | } 189 | 190 | .minbox li:nth-child(4) { 191 | background: url(../img-two/04.jpg) no-repeat 0 0; 192 | -webkit-transform: rotateX(90deg) translateZ(50px); 193 | } 194 | 195 | .minbox li:nth-child(5) { 196 | background: url(../img-two/05.jpg) no-repeat 0 0; 197 | -webkit-transform: rotateY(-90deg) translateZ(50px); 198 | } 199 | 200 | .minbox li:nth-child(6) { 201 | background: url(../img-two/06.jpg) no-repeat 0 0; 202 | -webkit-transform: rotateY(90deg) translateZ(50px); 203 | } 204 | 205 | .maxbox li:nth-child(1) { 206 | background: url(../img-two/1.jpg) no-repeat 0 0; 207 | -webkit-transform: translateZ(50px); 208 | } 209 | 210 | .maxbox li:nth-child(2) { 211 | background: url(../img-two/2.jpg) no-repeat 0 0; 212 | -webkit-transform: translateZ(50px); 213 | /* transform: rotate(180deg); */ 214 | } 215 | 216 | .maxbox li:nth-child(3) { 217 | background: url(../img-two/3.jpg) no-repeat 0 0; 218 | -webkit-transform: rotateX(-90deg) translateZ(50px); 219 | } 220 | 221 | .maxbox li:nth-child(4) { 222 | background: url(../img-two/4.jpg) no-repeat 0 0; 223 | -webkit-transform: rotateX(90deg) translateZ(50px); 224 | } 225 | 226 | .maxbox li:nth-child(5) { 227 | background: url(../img-two/5.jpg) no-repeat 0 0; 228 | -webkit-transform: rotateY(-90deg) translateZ(50px); 229 | } 230 | 231 | .maxbox li:nth-child(6) { 232 | background: url(../img-two/6.jpg) no-repeat 0 0; 233 | -webkit-transform: rotateY(90deg) translateZ(50px); 234 | } 235 | 236 | .maxbox { 237 | width: 800px; 238 | height: 400px; 239 | position: absolute; 240 | left: 0; 241 | top: -20px; 242 | -webkit-transform-style: preserve-3d; 243 | } 244 | 245 | .maxbox li { 246 | width: 200px; 247 | height: 200px; 248 | background: #fff; 249 | border: 1px solid #ccc; 250 | position: absolute; 251 | left: 0; 252 | top: 0; 253 | opacity: 0.2; 254 | -webkit-transition: all 1s ease; 255 | } 256 | 257 | .maxbox li:nth-child(1) { 258 | -webkit-transform: translateZ(100px); 259 | } 260 | 261 | .maxbox li:nth-child(2) { 262 | -webkit-transform: rotateX(180deg) translateZ(100px); 263 | } 264 | 265 | .maxbox li:nth-child(3) { 266 | -webkit-transform: rotateX(-90deg) translateZ(100px); 267 | } 268 | 269 | .maxbox li:nth-child(4) { 270 | -webkit-transform: rotateX(90deg) translateZ(100px); 271 | } 272 | 273 | .maxbox li:nth-child(5) { 274 | -webkit-transform: rotateY(-90deg) translateZ(100px); 275 | } 276 | 277 | .maxbox li:nth-child(6) { 278 | -webkit-transform: rotateY(90deg) translateZ(100px); 279 | } 280 | 281 | .box:hover ol li:nth-child(1) { 282 | -webkit-transform: translateZ(300px); 283 | width: 400px; 284 | height: 400px; 285 | opacity: 0.8; 286 | left: -100px; 287 | top: -100px; 288 | } 289 | 290 | .box:hover ol li:nth-child(2) { 291 | -webkit-transform: rotateX(180deg) translateZ(300px); 292 | width: 400px; 293 | height: 400px; 294 | opacity: 0.8; 295 | left: -100px; 296 | top: -100px; 297 | } 298 | 299 | .box:hover ol li:nth-child(3) { 300 | -webkit-transform: rotateX(-90deg) translateZ(300px); 301 | width: 400px; 302 | height: 400px; 303 | opacity: 0.8; 304 | left: -100px; 305 | top: -100px; 306 | } 307 | 308 | .box:hover ol li:nth-child(4) { 309 | -webkit-transform: rotateX(90deg) translateZ(300px); 310 | width: 400px; 311 | height: 400px; 312 | opacity: 0.8; 313 | left: -100px; 314 | top: -100px; 315 | } 316 | 317 | .box:hover ol li:nth-child(5) { 318 | -webkit-transform: rotateY(-90deg) translateZ(300px); 319 | width: 400px; 320 | height: 400px; 321 | opacity: 0.8; 322 | left: -100px; 323 | top: -100px; 324 | } 325 | 326 | .box:hover ol li:nth-child(6) { 327 | -webkit-transform: rotateY(90deg) translateZ(300px); 328 | width: 400px; 329 | height: 400px; 330 | opacity: 0.8; 331 | left: -100px; 332 | top: -100px; 333 | } 334 | 335 | @keyframes move { 336 | 0% { 337 | -webkit-transform: rotateX(13deg) rotateY(0deg); 338 | } 339 | 340 | 100% { 341 | -webkit-transform: rotateX(13deg) rotateY(360deg); 342 | } 343 | } -------------------------------------------------------------------------------- /index1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 | 35 | 36 | 37 | 38 | 39 |
40 |
41 |

42 |
43 | 00:00 44 | 00:00 45 |
46 |
47 |
48 |
49 |
50 | 51 |
52 |
53 | 54 |
55 |
56 | 64 |
    65 |
  1. 66 |
  2. 67 |
  3. 68 |
  4. 69 |
  5. 70 |
  6. 71 |
72 |
73 |
74 | 450 | 468 | 469 | 470 | -------------------------------------------------------------------------------- /index2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 | 35 | 36 | 37 | 38 | 39 |
40 |
41 |

42 |
43 | 00:00 44 | 00:00 45 |
46 |
47 |
48 |
49 |
50 | 51 |
52 |
53 | 54 |
55 |
56 | 64 |
    65 |
  1. 66 |
  2. 67 |
  3. 68 |
  4. 69 |
  5. 70 |
  6. 71 |
72 |
73 |
74 | 450 | 468 | 469 | 470 | 471 | --------------------------------------------------------------------------------