Spaces
Qoduby template supports 2 different types of spaces as padding and margin. These premade spacing classes are different from Bootstrap spacing classes.
You can use these classes as .p{breakpoint}{size} or .m{breakpoint}{size}. Sizes range from 0 to 7.
Sizes are defined using rem. Below you can see the values defined for sizes.
| Size | Rem |
|---|---|
| 0 | 0rem |
| 1 | 0.25rem |
| 2 | 0.50rem |
| 3 | 0.75rem |
| 4 | 1rem |
| 5 | 1.5rem |
| 6 | 2rem |
| 7 | 3rem |
Example
<div class="p7">.p7 spaces</div>
<div class="ps7">.ps7 start spaces</div>
<div class="pe7">.pe7 end spaces</div>
<div class="pt7">.pt7 top spaces</div>
<div class="pb7">.pb7 bottom spaces</div>
.p7 spaces
.ps7 start spaces
.pe7 end spaces
.pt7 top spaces
.pb7 bottom spaces
| Breakpoint | Explanation | Example |
|---|---|---|
| s | Start | .ps3 or .ms3 |
| e | End | .pe3 or .me3 |
| t | Top | .pt3 or .mt3 |
| b | Bottom | .pb3 or .mb3 |