Links

Margins

The majority of these settings should get left as default. However, if you feel confident, feel free to adjust and change the parameters.
Adjusting “margins” will change the space around elements.
1 px margin — gap between boxes
5 px margin — gap between boxes
10 px margin — gap between elements
20 px margin — gap between elements
When unspecified, margin is applied equally around elements. The margin property has four values.
  • top margin
  • right margin
  • bottom margin
  • left margin
"margin": "0.2rem", // a single value means space is equal

Other values:

// Use these variables for creating space around elements
// You can use all of them or the desired side
​
"margin-top": "5px", // Create margin above elements
"margin-bottom": "5px", // Create margin below elements
"margin-right": "5px", // Create margin to the right of elements
"margin-left": "5px", // Create margin to the left of elements
"margin": "0.5em", // a single value means space is equal
"margin": "10% 0",
"margin": "10px 5px 10px", // top , sides , bottom
"margin": "5px 10px 5px 10px", // top, right, bottom, left (Clockwise)
Values can be used individually.
"margin": "0", // no margins around the element
Last modified 10mo ago