题解 | #圣诞树#

圣诞树

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>
全部评论

相关推荐

头顶尖尖的程序员:我是26届的不太懂,25届不应该是找的正式工作吗?为什么还在找实习?大四还实习的话是为了能转正的的岗位吗
点赞 评论 收藏
分享
05-19 15:21
已编辑
华南农业大学 Java
白火同学:你才沟通了200,说实话,北上广深杭这里面你连一座城市的互联网公司都没投满呢,更别说还有各种准一线二线城市了。等你沟通突破了三位数,还没结果再考虑转行的事吧。
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

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