Answers for "mjml center image on mobile"

0

mjml center image on mobile

MJML - Center image on mobile with media query.

1. Add class to <mj-image>: 
	<mj-image css-class="center-on-mobile">

2. Add Media query:
  @media only screen and (max-width: 450px) {
    .center-on-mobile > table {
      margin: 0 auto !important;
    }
  }
Posted by: Guest on May-24-2021

Code answers related to "mjml center image on mobile"

Browse Popular Code Answers by Language