zoukankan      html  css  js  c++  java
  • H5横向三栏布局

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>H5横向三栏布局</title>
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"/>
        <style>
            body 
    {
                background-color
    : #80ff80;
                padding
    : 0;
                margin
    : 0;
            
    }
            .child 
    {
                display
    : table-cell;
                vertical-align
    : middle;
                word-wrap
    : break-word;
                word-break
    : break-all;
                white-space
    : nowrap;
            
    }
     
            .container 
    {
                padding
    : 10px 15px;
                display
    : block;
                background-color
    : #fff;
                border-bottom
    : 1px solid #eee;
            
    }
     
            .middle 
    {
                width
    : 10000px;
                text-align
    : center;
            
    }
             
        
    </style>
    </head>
    <body>
        <article>
            <div class="container">
                <div class="child">icon</div>
                <div class="child  middle">
                    <p>标题文字</p>
                </div>
                <div class="child">
                    <p>
                        说明文字
                    </p>
     
                </div>
            </div>
     
        </article>
     
    </body>
    </html>
  • 相关阅读:
    JavaScript对象
    JavaScript基础
    MySQL总结
    前端的基础知识汇总
    反射,面对对象高阶
    django中的认证登陆与用户的创建
    django的cookie和session
    ajax的json包含于xml的区别
    django的分页系统
    django的orm简签
  • 原文地址:https://www.cnblogs.com/xiaoleidiv/p/5477136.html
Copyright © 2011-2022 走看看