二阶段day3(作业)

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title></title>
        <style type="text/css">
        
        </style>
    </head>
    <body>
        <div style="float: right;" >
            <img src="img/QQ截图20181031200008.png" >
            
        </div>
        <div style="height: 50px; background-color: white;width: 100%;">
            <img src="img/QQ截图20181031195907.png" >
        </div>
        
                                
        
        
        
        <div style="height: 20px; background-color: red;width: 10%;float: left;" >小胖</div>
        <div style="height: 20px; background-color: aqua;width: 30%;float: left;">小胖</div>
        <div style="height: 20px; background-color: chocolate;width: 30%;float: left;" >小胖</div>
        <div style="height: 20px; background-color: aqua;width: 10%;float: left;">小胖</div>
        <div style="height: 20px; background-color: darkblue;width: 20%;float: left;">小胖</div>
        <div style="height: 300px; background-color: fuchsia;width: 100%;background: url(img/u=2057648350,679364698&fm=26&gp=0.jpg)no-repeat;background-size:1000px ;">
            <img src="img/QQ截图20181031193741.png"style="position:relative; top:80px;" > 
            <img src="img/QQ截图20181031203250.png" style="position:relative; top:150px;right: -500px;">
        
        
        </div>
        
        <div style="height: 100px; background-color: red;width: 30%;float: left;" >小胖</div>
        <div style="height: 100px; background-color: aqua;width: 30%;float: left;">小胖</div>
        <div style="height: 100px; background-color: chocolate;width: 30%;float: left;" >小胖</div>
        <div style="height: 100px; background-color: aqua;width: 10%;float: left;">小胖</div>
            
        <div style="height: 50px; background-color: white;width: 100%;float: left;" >小胖</div>
        <div style="height: 100px; background-color: red;width: 20%;float: left;" >小胖</div>                 
        <div style="height: 100px; background-color: aqua;width: 50%;float: left;">小胖</div>
        <div style="height: 100px; background-color: chocolate;width: 30%;float: left;" >小胖</div>
             
        
        
        
        
        
    
    </body>
</html>

显示结果

QQ截图20181031205654.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 1.字符串 a.说明 python中没有字符类型,如果要表示字符,就要用一个长度是1的字符串表示。长度:指的就是长...
    nothingpy阅读 878评论 0 1
  • 1.css属性 标准流布局:在标准流中,块级标签是一个占一行,默认宽度是父标签的宽度,默认高度是内容的高度;并且可...
    逆流而上_2eb6阅读 184评论 0 0
  • day3作业: 1.下列四组数,依次为二进制、八进制和十六进制,符合要求的是(d ) a. 12, 77, 1...
    ATM_shark阅读 282评论 0 0
  • 窗外的夜色如焦墨一般的颜色了。天地间弥漫的空气中幽静地没有半丝活气的迹象。深邃得捉摸不透的天幕上眨眼的星也少得可怜...
    倏思阅读 397评论 0 0
  • 数字+| set nu set nonu cw 多行注释 删除多行注释 对于括号的操作 复制与粘贴 分屏 鼠标激活...
    ShindouHiro阅读 846评论 0 2