mx
class while the vertical margins are denoted with mv
class. In situations where both horizontal and vertical margins are expected to be applied at equal margin, the mxv
class
is employed. Negative margins uses the n
identifier. Hence, a negative margin of 10 pixels on an horizontal axis will be denoted
as mxn-10
. Margins can also be applied for left or right sides on either the horizontal axis and top or bottom sides or vertical axis.
The margin applied on contents uses the 1
, 2
, 3
, 4
, 5
6
,
8
, 10
, 12
, 14
, 15
, 16
, 18
and 20
unit identifiers. Each of these digits reflects the margin distance given on any side defined. The list below are the list of margin purpose identifiers.
mxs-
- applies margin on both sides on the horizontal aximxl-
- applies margin on the left side on the horizontal axismxr-
- applies margin on the right size on the horizontal axismxl-n
- applies negative margin on the left side on the horizontal axismxr-n
- applies negative margin on the right side on the horizontal axismvs-
- applies margin on both sides on the vertical axismvt-
- applies top margin on the vertical axismvb-
- applies bottom margin on the vertical axismvt-n
- applies negative top margin on the vertical axismvb-n
- applies negative bottom margin on the vertical axismxs-2
- applies margin of 2 pixels on both sides on the horizontal aximxl-2
- applies margin of 2 pixels on the left side on the horizontal axismxr-2
- applies margin of 2 pixels on the right size on the horizontal axismxl-n2
- applies negative margin of 2 pixels on the left side on the horizontal axismxr-n2
- applies negative margin of 2 pixels on the right side on the horizontal axismvs-2
- applies margin of 2 pixels on both sides on the vertical axismvt-2
- applies top margin of 2 pixels on the vertical axismvb-2
- applies bottom margin of 2 pixels on the vertical axismvt-n2
- applies negative top margin of 2 pixels on the vertical axismvb-n2
- applies negative bottom margin of 2 pixels on the vertical axis