Using Media Queries In MJML And The mj-breakpoint Attribute Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 20

  • @lavendercode
    @lavendercode 2 ปีที่แล้ว

    Thank you. Love this video! Now I get breakpoints. Thanks again!

  • @duraimurugan3837
    @duraimurugan3837 ปีที่แล้ว

    such a wonderful video

  • @jonathaneidam2289
    @jonathaneidam2289 3 ปีที่แล้ว

    Great video! Hungry for more!

  • @davidstrom1434
    @davidstrom1434 2 ปีที่แล้ว

    Trying to figure out how to include images with overlapping content.

  • @mjmlm9146
    @mjmlm9146  3 ปีที่แล้ว +3

    Make sure to leave your video suggestions down here!

    • @fingerfighters9999
      @fingerfighters9999 2 ปีที่แล้ว

      Is there any way we can align the text to center in mobile view 480px if we have given align left or right in desktop view?
      I couldn't find any way to do it also css-class method doesn't work

  • @kanishkasuvarna7985
    @kanishkasuvarna7985 2 ปีที่แล้ว +2

    not working for me dont know why font-size no difference

  • @leviathan0664
    @leviathan0664 2 ปีที่แล้ว

    How can I hide content with media queries? I have a banner for desktop and another for mobile, so in 480px I want to hide the desktop and show the mobile.

    • @brickcitrus
      @brickcitrus 2 ปีที่แล้ว

      Hey if you want to hide in your media query above the media query add display: none; for the mobile content and in the media query section display: block; and add a class for display: none; in the media query to hide the desktop version. Be careful with outlook you need to be sure it is added on the parent and all children otherwise it will show.

  • @smollmighto
    @smollmighto 3 ปีที่แล้ว

    hello how can i use media queries with the mj-class?

    • @fingerfighters9999
      @fingerfighters9999 2 ปีที่แล้ว

      You can use custom media queries with css-class but it still works sometimes and won't other times

  • @PotatoinPyjamas
    @PotatoinPyjamas 2 ปีที่แล้ว

    Media Queries arent supported by Gmail aymore :/

  • @christianalban9
    @christianalban9 6 หลายเดือนก่อน

    Media queries and classes are ignored by Gmail client

  • @davidstrom1434
    @davidstrom1434 2 ปีที่แล้ว

    and... .how to use media queries to hide components.

  • @daniiltkachuk7519
    @daniiltkachuk7519 2 ปีที่แล้ว +1

    Nice video, but you can use multiple classes inside one media query, no need to copy the same query every time

    • @youvegotmail9385
      @youvegotmail9385 ปีที่แล้ว

      Pretty sure he knows. This is a tutorial so he has his reasons.

  • @sergentumba583
    @sergentumba583 3 ปีที่แล้ว +1

    custom media query with images

  • @LukeMartinVideo
    @LukeMartinVideo 2 ปีที่แล้ว

    This is so unfair ! I can get breakpoints to work !
    Even after watching this video multiple times and searching the internets... Nothing works on my machine !