html #CSS - HTML的伟大之树//来源http://jsbin.com/nehat/1
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html #CSS - HTML的伟大之树//来源http://jsbin.com/nehat/1相关的知识,希望对你有一定的参考价值。
div {
border-radius: 5px;
border: 2px solid #6495ED;
background-color: #BCD2EE;
height: 18px;
text-align: center;
font-family: Garamond, serif;
}
#p1 {
display: inline;
position: relative;
margin-left: 138px;
}
#p2 {
display: inline;
position: relative;
margin-left: 10px;
}
#p3 {
display: inline;
position: relative;
margin-left: 10px;
}
#div {
display: inline;
position: relative;
margin-left: 70px;
margin-top: 10px;
}
#title {
display: inline;
position: relative;
margin-left: 50px;
}
#body {
display: inline;
position: relative;
margin-left: 25px;
}
#head {
display: inline;
position: relative;
margin-left: 65px;
}
#html {
width: 50px;
position: relative;
margin-left: 93px;
}
.space {
opacity: 0;
}
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>The Great Tree of HTML</title>
<style id="jsbin-css">
div {
border-radius: 5px;
border: 2px solid #6495ED;
background-color: #BCD2EE;
height: 18px;
text-align: center;
font-family: Garamond, serif;
}
#p1 {
display: inline;
position: relative;
margin-left: 138px;
}
#p2 {
display: inline;
position: relative;
margin-left: 10px;
}
#p3 {
display: inline;
position: relative;
margin-left: 10px;
}
#div {
display: inline;
position: relative;
margin-left: 70px;
margin-top: 10px;
}
#title {
display: inline;
position: relative;
margin-left: 50px;
}
#body {
display: inline;
position: relative;
margin-left: 25px;
}
#head {
display: inline;
position: relative;
margin-left: 65px;
}
#html {
width: 50px;
position: relative;
margin-left: 93px;
}
.space {
opacity: 0;
}
</style>
</head>
<body>
<div id="p1">P</div>
<div id="p2">P</div>
<div id="p3">P</div>
<div class="space"></div>
<div id="title">Title</div>
<div id="div">Div</div>
<div class="space"></div>
<div id="head">Head</div>
<div id="body">Body</div>
<div class="space"></div>
<div id="html">HTML</div>
<script id="jsbin-source-css" type="text/css">div {
border-radius: 5px;
border: 2px solid #6495ED;
background-color: #BCD2EE;
height: 18px;
text-align: center;
font-family: Garamond, serif;
}
#p1 {
display: inline;
position: relative;
margin-left: 138px;
}
#p2 {
display: inline;
position: relative;
margin-left: 10px;
}
#p3 {
display: inline;
position: relative;
margin-left: 10px;
}
#div {
display: inline;
position: relative;
margin-left: 70px;
margin-top: 10px;
}
#title {
display: inline;
position: relative;
margin-left: 50px;
}
#body {
display: inline;
position: relative;
margin-left: 25px;
}
#head {
display: inline;
position: relative;
margin-left: 65px;
}
#html {
width: 50px;
position: relative;
margin-left: 93px;
}
.space {
opacity: 0;
}</script>
</body>
</html>
以上是关于html #CSS - HTML的伟大之树//来源http://jsbin.com/nehat/1的主要内容,如果未能解决你的问题,请参考以下文章
蓝桥杯:生命之树
Python数据结构之树
数据结构之树链剖分
二叉树学习笔记之树的旋转
数据结构和算法 数据结构基础之树二叉树
剑指Offer数据结构之树[Python版]