模拟mac苹果电脑图片墙切换效果

代码语言:html

所属分类:幻灯片

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>CSS3 Cover Flow</title>
    <style>
        html,
        body {
            margin: 0px;
            padding: 0px;
        }
        body {
            background: #222;
            margin-top: 200px;
        }
        .coverflow {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            width: 800px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -140px;
            margin-left: -400px;
        }
        .wrapper {
            width: 800px;
            overflow: hidden;
            white-space: nowrap;
            padding-top: 40px;
            position: absolute;
            height: 230px;
            -webkit-transform-style: preserve-3d;
            -moz-transform-style: preserve-3d;
            -ms-transform-style: preserve-3d;
            -o-transform-style: preserve-3d;
            transform-style: preserve-3d;
            -webkit-perspective: 400px;
            -moz-perspective: 400px;
            -ms-perspective: 400px;
            -o-perspective: 400px;
        .........完整代码请登录后点击上方下载按钮下载查看

网友评论0