본문 영역
Float
Mont9 Editor's
A
So We made
Use
float was created to overcome the limitations of the grid.A
grid can split things into up to 6 parts in a row, but sometimes we want to show things like galleries with rows and columns like 3X5 or 5X5.
But grid(grid) cannot express this.So We made
.float-n. The only thing is, with .float-n, everything has to be the same width.Use
grid and float according to the situation.
Introduction
- You can mainly use
<ul>and<ol>tags with.m9-float-ninserted for styling. - The gap between columns can be adjusted using
.m9-spacing-nclass. It can be adjusted from 1 to 3.
.m9-spacing-1,.m9-spacing-2,.m9-spacing-3
m9-float-1
Divide a list
<li> into 1 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
Code
m9-float-2
Divide a list
<li> into 2 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
Code
m9-float-3
Divide a list
<li> into 3 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
Code
m9-float-4
Divide a list
<li> into 4 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Code
m9-float-5
Divide a list
<li> into 5 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Code
m9-float-6
Divide a list
<li> into 6 equal parts.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
Code
Spacing
.m9-spacing-n 이 없을때
Spacing between
<li> is 0em.
Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Code
.m9-spacing-1
Spacing between
<li> is 1em.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
.m9-spacing-2
Spacing between
<li> is 2em.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Code
.m9-spacing-3
Spacing between
<li> is 3em.Result
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
