• <label id="pxtpz"><meter id="pxtpz"></meter></label>
      1. <span id="pxtpz"><optgroup id="pxtpz"></optgroup></span>

        當前位置:雨林木風下載站 > 蘋果教程教程 > 詳細頁面

        純 CSS 制作逼真的 iphone7_CSS圖文詳細教程_CSS_頁面制作

        純 CSS 制作逼真的 iphone7_CSS圖文詳細教程_CSS_頁面制作

        更新時間:2024-03-17 文章作者:未知 信息來源:網絡 閱讀次數:

        好幾天沒有更新了,直接上效果吧,哈哈!(我想這個應該大部分都會!哈哈哈!) 代碼如下:html:<div class="container"><div clas...

        好幾天沒有更新了,直接上效果吧,哈哈!(我想這個應該大部分都會!哈哈哈!)

         純 CSS 制作逼真的 iphone7_CSS教程_CSS_網頁制作_本站

        代碼如下:

        html:

        <div class="container">
            <div class="round"></div>
            <div class="longround"></div>
            <div class="screen">iphone 7plus</div>
             <div class="home"></div>
        </div>

        css:

        <style type="text/css">
                .container {
                    width: 300px;
                    height: 600px;
                    background-color: rgba(0, 0, 0, .6);
                    margin: 50px auto;
                    border-radius: 30px;
                    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
                    position: relative;
                    z-index: 999;
                }
                .container::before {
                    content: "";
                    width: 3px;
                    height: 50px;
                    background: rgba(0, 0, 0, .5);
                    position: absolute;
                    top: 170px;
                    left: 300px;
                    border-radius: 0 4px 4px 0;
                }
                .container::after {
                    content: "";
                    width: 3px;
                    height: 100px;
                    background: rgba(0, 0, 0, .5);
                    position: absolute;
                    top: 50px;
                    left: 300px;
                    border-radius: 0 4px 4px 0;
                }
                .container .round {
                    width: 12px;
                    height: 12px;
                    border: 3px solid #4a4a4a;
                    background-color: rgba(0, 0, 0, .6);
                    border-radius: 50%;
                    position: absolute;
                    left: 50%;
                    top: 10px;
                    margin-left: -7.5px;
                }
                .container .longround {
                    position: absolute;
                    width: 100px;
                    height: 8px;
                    border: 3px solid #4a4a4a;
                    background-color: rgba(0, 0, 0, .6);
                    border-radius: 30px;
                    position: absolute;
                    left: 50%;
                    margin-left: -50px;
                    top: 35px;
                }
                .container .screen {
                    width: 280px;
                    height: 470px;
                    background: linear-gradient(to bottom, rgba(255, 255, 255, .2), rgba(255, 255, 255, .8));
                    position: absolute;
                    top: 60px;
                    left: 50%;
                    margin-left: -140px;
                    color: #fff;
                    text-align: center;
                    font-weight: bold;
                    font-size: 20px;
                    line-height: 450px;
                    box-shadow: 0 0 10px rgba(0, 0, 0, .6) inset;
                }
                .container .screen::before {
                    content: "";
                    width: 50px;
                    height: 4px;
                    background: rgba(0, 0, 0, .5);
                    border-radius: 3px 3px 0 0;
                    position: absolute;
                    top: -63px;
                    left: 180px;
                }
                .container .screen::after {
                    content: "";
                    width: 7px;
                    height: 10px;
                    background: rgba(0, 0, 0, .5);
                    border-radius: 5px 0 0 5px;
                    position: absolute;
                    top: -10px;
                    left: -17px;
                }
                .container .home {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    background-color: rgba(0, 0, 0, .6);
                    border: 2px solid #4a4a4a;
                    position: absolute;
                    bottom: 10px;
                    left: 50%;
                    margin-left: -25px;
                    box-shadow: 0 0 2px black inset;
                }
                .container .home::before {
                    content: "";
                    width: 25px;
                    height: 25px;
                    background-color: transparent;
                    border: 2px solid rgba(255, 255, 255, .5);
                    position: absolute;
                    left: 10px; 
                    top: 10px;
                }
        </style>

        總結

        以上所述是小編給大家介紹的純 CSS 制作逼真的 iphone7,希望對大家有所幫助,如果大家有任何疑問歡迎給我留言,小編會及時回復大家的!



        溫馨提示:喜歡本站的話,請收藏一下本站!

        本類教程下載

        系統下載排行

        主站蜘蛛池模板: 亚洲理论精品午夜电影| 亚洲色偷偷综合亚洲AV伊人蜜桃 | rh男男车车的车车免费网站| 亚洲国产一区视频| 外国成人网在线观看免费视频| 亚洲综合久久精品无码色欲| 国产亚洲精品AA片在线观看不加载| 国产白丝无码免费视频| 亚洲色偷偷综合亚洲AV伊人蜜桃 | 欧美男同gv免费网站观看| 免费人成大片在线观看播放电影| 亚洲AV无码一区二区二三区入口| 成人性生交视频免费观看| www一区二区www免费| 亚洲a级片在线观看| 国产综合亚洲专区在线| 男女超爽刺激视频免费播放| 中美日韩在线网免费毛片视频| 久久亚洲AV成人无码| 日本高清免费网站| 1000部夫妻午夜免费| yellow免费网站| 亚洲日韩精品国产一区二区三区| 亚洲国产精品无码久久一区二区| 日韩视频免费在线| 亚洲成人免费网址| 亚洲天堂免费在线视频| 亚洲精华液一二三产区| 亚洲人成电影福利在线播放| 国产精品亚洲mnbav网站 | 亚洲一卡2卡3卡4卡国产网站| 亚洲欧洲成人精品香蕉网| 国产青草视频在线观看免费影院| 98精品全国免费观看视频| 人妻仑乱A级毛片免费看| 国产亚洲精aa在线看| 91亚洲国产在人线播放午夜| 亚洲尤码不卡AV麻豆| 少妇亚洲免费精品| 114一级毛片免费| 99久久国产免费中文无字幕|