Blogger Information
Blog 39
fans 0
comment 0
visits 34600
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
手机端横向展示内容
美丽城堡
Original
1204 people have browsed it

实例

<div class="show-img">
                 <ul class="show-img-box">
                                <li>
                                    <img src="../img/screen.png" alt="展示"  heihgt="600"> 
                                </li>
                                <li>
                                    <img src="../img/screen.png" alt="展示"  heihgt="600"> 
                                </li>
                                <li>
                                    <img src="../img/screen.png" alt="展示" heihgt="600"> 
                                </li>
                            </ul>
                        </div>

运行实例 »
<div class="show-img">
    <ul class="show-img-box">
        <li>
            <img src="../img/screen.png" alt="展示"  heihgt="600"> 
        </li>
        <li>
            <img src="../img/screen.png" alt="展示"  heihgt="600"> 
        </li>
        <li>
            <img src="../img/screen.png" alt="展示" heihgt="600"> 
        </li>
    </ul>
</div>
/* =三张图片展示= */
.show-img{width: 100vw; max-width: 768px; height: 606px; overflow: hidden; overflow-x: auto; margin-left: -15px; }
ul.show-img-box{ background-color: #f0f0f0; width: 300vw; max-width: 2308px;}
ul.show-img-box li{ width: 100vw; max-width: 768px;  text-align: center; }
ul.show-img-box li img{vertical-align: baseline; }

点击 "运行实例" 按钮查看在线实例


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post