题解 | #圣诞树#

圣诞树

http://www.nowcoder.com/practice/4924913926d94e96a70bbf2a50847852

<!DOCTYPE html>
<html>    
    <head>
        <meta charset=utf-8>
        <style type=\"text/css\">
            .topbranch {
                width: 0px;
                height: 0px;
                /*
                                * TODO: 上枝叶效果
                                                  */
                float:left;
                margin-left:100px;
                border:solid transparent 100px;
                border-bottom-color:green;
                margin-bottom:-200px;
            }
            .middleBranch {
                             width: 0px;
                             height: 0px;
                             /*
                                             * TODO: 中枝叶效果
                                                               */
                border:solid 200px transparent;
                border-bottom-color:green;
            }
            .base {
                             /*
                                            * TODO: 树干效果
                                                              */
                             margin-left:165px;
                width:70px;
                height:200px;
                background-color:gray;
            }
        </style>
    </head>
    <body>
    <section class=\"topbranch\"></section>
    <section class=\"middleBranch\"></section>
    <section class=\"base\"></section>
    </body>
</html>
全部评论

相关推荐

01-09 17:12
四川大学 Java
叁六玖:上次建行给我开25万,让我扣2办理
点赞 评论 收藏
分享
01-04 21:30
已编辑
河南工业大学 Java
27届学院本誓死冲击...:下次再发把个人信息隐藏掉,以防有心之人。相关课程删了,荣誉奖项只留蓝桥杯,把蓝桥杯写到教育经历里,按教育经历、实习经历、项目经历、专业技能这个顺序排版
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务