美文网首页
day3-作业

day3-作业

作者: _桑心人 | 来源:发表于2018-10-31 20:35 被阅读0次

完成如下效果图的板块

卧龙控股.jpg

代码如下

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            .div{
                left: 0;
                right: 0;
                margin: auto;
            }
            #div1{
                position: relative;
            }
            #div1-1{
                background-image: url(img/67.jpg);
                width: 130px;
                height: 74px;
                background-color: white;
                position: absolute;
                left: 10px;
                top: 3px;
            }
            #div1-2{
                width: 150px;
                height: 50px;
                background-color: white;
                position: absolute;
                right: 10px;
                top: 15px;
            }
            #div2{
                left: 0;
                right: 0;
                margin: auto;
            }
            #div2 lu li{
                float: left;
                line-height: 30px;
                color: white;
                list-style-type: none;
                margin-left: 7px;
                margin-right: 7px;
                font-size: 3px;
                padding-left: 2px;
                
            }
            #div4 div{
                float: left;
            }
            #div5 div{
                float: left;
                width: 140px;
                height: 150px;
            }
            #div6 div{
                margin-top: 20px;
                float: left;
            }
        </style>
    </head>
    <body>
        <div id="div1" class="div" style="height: 80px;width: 600px;">
            <div id="div1-1">
            </div>
            <div id="div1-2">
                <input type="text" style="padding-left: 5px;margin-top: 30px;width: 125px;height: 10px;background-color: #F1F1F1;" placeholder="SEARCH" />
            </div>
        </div>
        <div class="div" id="div2" style="width: 600px;height: 30px;background-color: black;">
            <lu>
                <li>集团介绍&emsp;&emsp;|</li>
                <li>产品中心&emsp;&emsp;|</li>
                <li>卧龙市场&emsp;&emsp;|</li>
                <li>技术研发&emsp;&emsp;|</li>
                <li>国际合作&emsp;&emsp;|</li>
                <li>投资者关系&emsp;&emsp;|</li>
                <li>新闻资讯&emsp;&emsp;|</li>
                <li>人力资源</li>
            </lu>
        </div>
        <div class="div" id="div3" style="width: 600px;height: 300px;background-color: red;background: url(img/sa.jpg);">
            
        </div>
        <div class="div" id="div4" style="width: 600px;height: 150px;">
            <div style="width: 300px;height: 150px;">
                <h4>新闻资讯</h4>
            </div>
            <div style="width: 150px;height: 150px;background-color: #F1F1F1">
                <h4>卧龙介绍</h4>
            </div>
            <div style="width: 150px;height: 150px;">
                <h4>人工招聘</h4>
            </div>
        </div>
        <div id="div5" class="div" style="width: 600px;height: 150px;">
            <h4>卧龙市场</h4>
            <div id="" style="background-color: brown;">
                
            </div>
            <div id="" style="background-color: black;margin-left: 11px;margin-right: 6px;">
                
            </div>
            <div id="" style="background-color: blue;margin-left: 6px;margin-right: 11px;">
                
            </div>
            <div id="" style="background-color: silver;">
                
            </div>
        </div>
        <div id="div6" class="div" style="width: 600px;height: 300px;background-color: #F1F1F1;margin-top: 75px;margin-bottom: 20px;">
            <h6>&nbsp;</h6>
            <div id="" style="width: 240px;height: 250px;margin-top: -20px;margin-left: 20px;">
                <h4>产品中心</h4>
                <div id="" style="width: 220px;height: 230px;margin-top: -20px;margin-left: -5px;border-top: 1px black solid;">
                    
                </div>
            </div>
            <div id="" style="width: 110px;height: 250px;margin-top: -20px;margin-left: 20px;">
                <h4>研发技术</h4>
                <div id="" style="width: 100px;height: 230px;margin-top: -20px;margin-left: -5px;border-top: 1px black solid;">
                    
                </div>
            </div>
            <div id="" style="width: 190px;height: 250px;margin-top: -20px;margin-left: 20px;">
                <h4>营销网络</h4>
                <div id="" style="width: 180px;height: 230px;margin-top: -20px;margin-left: -5px;border-top: 1px black solid;">
                    
                </div>
            </div>
        </div>
    </body>
</html>

相关文章

  • 小四(二班三组)108晨读私塾作业(2019.2.20)

    Day3-【108晨读私塾作业】 1、答案:独立阶段 2、答案:1)类比对象:夫妻相处 鹅:夫妻之间的感情付出 蛋...

  • 3/14今日读书《匠人精神》补更

    【今日读书任务】《匠人精神》 【预计听书时长】1h 【今日作业】:打卡Day3-《匠人精神》 「3条笔记」 这段是...

  • day03-作业

    day3-作业 题目一: 解答: b中的变量命名方式不正确,正确形式应该为a,c = 10,20或者为a = b ...

  • Day3-作业

    作业1 结果: 作业2 结果:

  • day3-作业

    粗糙版

  • day3-作业

    完成如下效果图的板块 代码如下

  • Day3-作业

  • day3-作业

    答案依次是: 1. 2. 19;0x13 & 0x17 = 00010011(补) & 00010111(补) =...

  • day3-作业

    1.使用位运算判断一个数是否是奇数注:奇数的二进制的最后一位是1,偶数是0 运行: 2.表达式0x13&0x17的...

  • Day3-作业

    1.使用位运算判断一个数是否是奇数注:奇数的二进制的最后一位是1,偶数是0答: 2.表达式0x13&0x17的值是...

网友评论

      本文标题:day3-作业

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