Ajax Loader
×
HTML
<section>
1
<section>
2
  <div>div1</div>
3
  <div>div2</div>
4
  <div>div3</div>
5
  <div>div3</div>
6
</section>
7
<br />
8
<section>
9
  <div>div1</div>
10
  <div>div2</div>
11
  <div>div3</div>
12
</section>
 
CSS
section {
1
section {
2
  width: 960px;
3
}
4
section::after {
5
  clear: both;
6
  content: " ";
7
  display: block;
8
  height: 0;
9
  visibility: hidden;
10
}
11
section div {
12
  float: left;
13
  width: 25%;
14
}
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
section {
26
  background-color: aqua;
27
  width: 960px;
28
  padding: 5px;
29
}
30
section div {
31
  background-color: white;
32
}
 

Untitled

CSSDeck G+