美文网首页
项目基本布局

项目基本布局

作者: 心i_af0a | 来源:发表于2018-12-25 20:06 被阅读0次
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>页面布局</title>
        <style type="text/css">
            *{
                margin: 0;
                padding: 0;
            }
            .box1{
                width: 1519.2px;
                height: 30.8px;
                background-color: chartreuse;
            }
            .box1-1{
                width: 1200px;
                height: 31px;
                background-color: aqua;
                margin: 0 auto;
            }
            .box1-1-1{
                width: 540px;
                height: 31px;
                background-color: dimgray;
                float: left;
            }
            .box1-1-2{
                width: 600px;
                height: 31px;
                background-color: blueviolet;
                float: right;
            }
            .box2{
                width: 1200px;
                height: 150px;
                background-color: blueviolet;
                margin: 0 auto;
            }
            .box3{
                width: 1519.2px;
                height: 40px;
                background-color: blue;
            }
            .box4{
                width: 1200px;
                height: 520px;
                background-color: yellow;
                margin: 0 auto;
            }
            .box4-1{
                width: 219.6px;
                height: 487.8px;
                background-color: darkgoldenrod;
                float: left;
            }
            .box4-2{
                width: 760px;
                height: 479px;
                background-color: grey;
                float: left;
                margin-left: 10px ;
            }
            .box4-3{
                width: 201.6px;
                height: 478.6px;
                background-color: sandybrown;
                float: right;
            }
            .box5{
                width: 1200px;
                height: 6130.9px;
                background-color: red;
                margin: 0 auto;
            }
            .box5-1{
                width: 1200px;
                height: 31.6px;
                background-color: snow;
                margin: 0 auto ;
            }
            .box5-2{
                width: 1200px;
                height: 234.8px;
                background-color: steelblue;
                margin: 10px auto;
            }
            .box6{
                width: 1519.2px;
                height: 219.6px;
                background-color: aqua;
            }
        </style>
    </head>
    <body>
    <div class="box1">
        <div class="box1-1">
            <div class="box1-1-1"></div>
            <div class="box1-1-2"></div>
        </div>
    </div>
    <div class="box2"></div>
    <div class="box3"></div>
    <div class="box4">
        <div class="box4-1"></div>    
        <div class="box4-2"></div>
        <div class="box4-3"></div>
    </div>
    <div class="box5">
        <div class="box5-1"></div>
        <div class="box5-2"></div>
    </div>
    <div class="box6"></div>
    </body>
</html>

相关文章

  • 项目基本布局

  • 项目的基本布局

  • Android自学历程【更新中】

    目录 活动:基本用法活动简介创建项目创建布局加载布局在 AndroidManifest.xml中注册为主活动 活动...

  • flex

    Flex 布局教程:语法篇一、Flex 布局是什么?二、基本概念三、容器的属性6四、项目的属性6 Flex 布局教...

  • golang 项目的基本布局结构

    一个 Go 项目可能包含多个具有不同包名的文件。在这些情况下设置适当的布局在 Go 中并不总是那么简单,尤其是对于...

  • Flex布局(弹性布局)

    文章结构 Flex布局是什么? 基本概念 容器的属性 项目的属性 1.Flex布局是什么? Flex是Flexib...

  • PDCA循环(Plan、DO、Check、Act)

    基本解释 P(Plan) 确定项目目标和规划 D(DO) 设计具体方案和计划布局,再根据布局进行具体运作,实现计划...

  • Flutter 07 - 列表组件之 ListView 组件详解

    一、基本概述 列表布局是我们项目开发中最常用的一种布局方式。Flutter 中我们可以通过 ListView 来定...

  • CSS Grid布局指北

    网格布局(Grid)是最强大的 CSS 布局方案。 以下是快速学习指南: 1. 基本概念 属性分为了容器属性和项目...

  • CSS基本布局整理

    前言 css布局是前端开发必须掌握的基本内容,前端学习之css基本布局整理。 基本布局 左右布局 div结构: f...

网友评论

      本文标题:项目基本布局

      本文链接:https://www.haomeiwen.com/subject/bpdqlqtx.html