zoukankan      html  css  js  c++  java
  • 左侧固定宽度 右侧自适应

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <style type="text/css">
    body{padding:0px; margin:0px;}
    .left{
        float:left;
        width:200px;
        border:#000 1px solid;
        }
    .right{
        overflow: auto;
        border:#999 1px solid;
    }    
    </style>
    </head>
    
    <body>
    <div>
        <div class="left">1</div>
        <div class="right">2</div>
    </div>
    </body>
    </html>
  • 相关阅读:
    css3 3d 转换
    css3 动画序列
    css3 动画
    2d 转换之缩放
    2d 转换中心点
    css3 书写 动画三角形
    2d 旋转
    2D转换
    伪元素 字体图标
    风陵01
  • 原文地址:https://www.cnblogs.com/visi_zhangyang/p/3904386.html
Copyright © 2011-2022 走看看