class="name"> ms-default-constants.php 92ae4370cd config il y a 3 ans ms-default-filters.php 92ae4370cd config il y a 3 ans ms-deprecated.php 92ae4370cd config il y a 3 ans ms-files.php 92ae4370cd config il y a 3 ans ms-functions.php 92ae4370cd config il y a 3 ans ms-load.php 92ae4370cd config il y a 3 ans ms-network.php 92ae4370cd config il y a 3 ans ms-settings.php d01d7cf85d first commit il y a 4 ans ms-site.php 92ae4370cd config il y a 3 ans nav-menu-template.php 92ae4370cd config il y a 3 ans nav-menu.php 92ae4370cd config il y a 3 ans option.php 92ae4370cd config il y a 3 ans pluggable-deprecated.php d01d7cf85d first commit il y a 4 ans pluggable.php 92ae4370cd config il y a 3 ans plugin.php 92ae4370cd config il y a 3 ans post-formats.php d01d7cf85d first commit il y a 4 ans post-template.php 92ae4370cd config il y a 3 ans post-thumbnail-template.php 92ae4370cd config il y a 3 ans post.php 92ae4370cd config il y a 3 ans query.php d01d7cf85d first commit il y a 4 ans registration-functions.php d01d7cf85d first commit il y a 4 ans registration.php d01d7cf85d first commit il y a 4 ans rest-api.php 92ae4370cd config il y a 3 ans revision.php 92ae4370cd config il y a 3 ans rewrite.php 92ae4370cd config il y a 3 ans robots-template.php 92ae4370cd config il y a 3 ans rss-functions.php d01d7cf85d first commit il y a 4 ans rss.php 92ae4370cd config il y a 3 ans script-loader.php 92ae4370cd config il y a 3 ans session.php d01d7cf85d first commit il y a 4 ans shortcodes.php d01d7cf85d first commit il y a 4 ans sitemaps.php d01d7cf85d first commit il y a 4 ans spl-autoload-compat.php d01d7cf85d first commit il y a 4 ans taxonomy.php 92ae4370cd config il y a 3 ans template-canvas.php 92ae4370cd config il y a 3 ans template-loader.php d01d7cf85d first commit il y a 4 ans template.php d01d7cf85d first commit il y a 4 ans theme-i18n.json 92ae4370cd config il y a 3 ans theme-templates.php 92ae4370cd config il y a 3 ans theme.json 92ae4370cd config il y a 3 ans theme.php 92ae4370cd config il y a 3 ans update.php 92ae4370cd config il y a 3 ans user.php 92ae4370cd config il y a 3 ans vars.php 92ae4370cd config il y a 3 ans version.php 92ae4370cd config il y a 3 ans widgets.php 92ae4370cd config il y a 3 ans wlwmanifest.xml d01d7cf85d first commit il y a 4 ans wp-db.php 92ae4370cd config il y a 3 ans wp-diff.php d01d7cf85d first commit il y a 4 ans tum/network_report_server - Gogs: Simplico Git Service

暂无描述

README.md 4.8KB

mj-column

Columns enable you to horizontally organize the content within your sections. They must be located under mj-section tags in order to be considered by the engine. To be responsive, columns are expressed in terms of percentage.

Every single column has to contain something because they are responsive containers, and will be vertically stacked on a mobile view. Any standard component, or component that you have defined and registered, can be placed within a column – except mj-column or mj-section elements.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <!-- Your first column -->
      </mj-column>
      <mj-column>
        <!-- Your second column -->
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

attribute unit description default attributes
background-color color background color for a column n/a
inner-background-color color requires: a padding, inner background color for column n/a
border string css border format none
border-bottom string css border format n/a
border-left string css border format n/a
border-right string css border format n/a
border-top string css border format n/a
border-radius percent/px border radius n/a
inner-border string css border format n/a
inner-border-bottom string css border format ; requires a padding n/a
inner-border-left string css border format ; requires a padding n/a
inner-border-right string css border format ; requires a padding n/a
inner-border-top string css border format ; requires a padding n/a
inner-border-radius percent/px border radius ; requires a padding n/a
width percent/px column width (100 / number of non-raw elements in section)%
vertical-align string middle/top/bottom (note: middle works only when adjacent mj-column is also set to middle) top
padding px supports up to 4 parameters n/a
padding-top px section top offset n/a
padding-bottom px section bottom offset n/a
padding-left px section left offset n/a
padding-right px section right offset n/a
css-class string class name, added to the root HTML element created n/a