我想製作一些彩色的瓷磚,點擊打開一個模式,再添加一些瓷磚。這些瓷磚應刷新模式並顯示另一個瓷磚。點擊打開一些色彩鮮豔的瓷磚打開一個div
我想製作一個文件夾,其中有更多的文件夾和一些更多的文件夾。
只要告訴我如何做到一級深度,我會休息。
現在所有我做的是:
html, body, .container
{
height: 100%;
min-height: 100%;
}
.first {
float: left;
width: 20%;
height: 30%;
background-color: red;
}
.second{
float: left;
width: 20%;
height: 70%;
background-color: green;
}
.third{
float: right;
width: 80%;
height: 80%;
background-color: blue;
}
.fourth {
float: right;
width: 40%;
height: 20%;
background-color: #DDDDDD;
}
.last{
float: right;
width: 40%;
height: 20%;
background-color: yellow;
}
<div class="container">
<div class="first">first</div><div class="third">third</div>
<div class="second">second</div><div class="fourth">fourth</div>
<div class="last">last</div>
</div>
你寫過這方面的任何JavaScript的? – sorayadragon
naah!我沒有,但plz幫助我...我有一個死亡線 –
請閱讀[在什麼情況下,我可以添加「緊急」或其他類似的短語我的問題,以獲得更快的答案?](https:// meta.stackoverflow.com/q/326569) - 總結是,這不是解決志願者問題的理想方式,而且可能會對獲得答案產生反作用。請不要將這添加到您的問題。 – halfer