Skip to content

m-column

A block that scales responsively on mobile. Can only be used inside m-row.

TIP

Can only be used within m-row

Attributes

AttributeDefault ValueDescription
aligncenterHorizontal alignment: left / right / center
valigntopVertical alignment: top / bottom / middle
bgcolorBackground color
widthBlock width in px or %
heightBlock height in px
borderBorder properties, e.g., #cccccc 2px solid
border-topTop border properties, e.g., #cccccc 2px solid
border-rightRight border properties, e.g., #cccccc 2px solid
border-bottomBottom border properties, e.g., #cccccc 2px solid
border-leftLeft border properties, e.g., #cccccc 2px solid
border-radius0Border radius
paddingInner padding. Set using 1–4 values in px, following standard CSS rules

Example

html
<m-row>
    <m-column width="60" valign="middle">Col1</m-column>
    <m-column align="right">Col2</m-column>
</m-row>