Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update black-friday.mjml. Port to V4 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willhertz
Copy link

What was done

  • Ported to MJML V4

  • Removed MOST in-line sytles and moved to attributes and classes.
    Many of the in-line styles throwed illegal attribute errors.

  • Tried to comment as clear and concise as possible for newcomers.

Other Comments:

  • Line number fourfolds but markup is cleaner.
  • Didn't remove inline style @176
    <mj-button><span style="color:#212020">Shop Now</span></mj-button>
Because
1.  for didactical purposes  (IMHO templates are very good hands-on tutorial for beginners and might be somewhat better than documentation itself)
2.  For some others creating a class for just one style might be an overkill

Environment

Edited and validated using Windows Desktop App
MJML App V3.0.2
MKMK v^4.6.2

-Ported to MJML V4
-Removed MOST in-line sytles and moved to attributes and classes.
                Many of the in-line styles throwed illegal attribute errors.
-Tried to comment as clear and concise as possible for newcomers.

Other Comments:
-Line number fourfolds but markup is cleaner.
-Didn't remove inline style @176  
          <mj-button><span style="color:#212020">Shop Now</span></mj-button>
    Because
    1.- for didactical purposes  (IMHO templates are very good hands-on tutorial for beginners and might be somewhat better than documentation itself)
    2.- For some others creating a class for just one style might be an overkill

Edited and validated using Windows Desktop App
MJML App V3.0.2 
MKMK v^4.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant