CSS Envelope + Letter Animation (Open/Close on Click) | CSS3 Tips & Tricks

Sdílet
Vložit
  • čas přidán 12. 02. 2022
  • Create an Awesome animated envelope + letter animation with open and close on click.
    #CSS #HTML #JS
    source code:
    github.com/hossaini-f/css-env...

Komentáře • 43

  • @cristinabautistaadegas2356

    GREAT!!

  • @gunadAgp
    @gunadAgp Před měsícem

    Mantap, saya suka

  • @xlfrostyy6274
    @xlfrostyy6274 Před 24 dny +2

    hey for anyone struggling with the part where it the wrapper is overlapping the letter when it comes out dont worry i found a solution. so what you need to do is go to the .flap > .envelope .letter and add z-index: 3; and in the ( . letter ) i added z-index:0; this is not a full solution however and will bring out the entire letter but the heart will still be there to reset the animation and the letter will be readable and is the only solution i have found

    • @alinaansari9377
      @alinaansari9377 Před 12 dny

      Hey i just changed the z-index from 3 to 2 in .flap> .envelope .letter and didn't add z-index in .letter . It worked

  • @lautii8810
    @lautii8810 Před 4 měsíci +2

    It won't let me fix the bottom part of the envelope, it was long at the bottom and it won't let me fix it. please help

  • @arhaankhan7822
    @arhaankhan7822 Před 4 měsíci +2

    Sir how to share it with anyone by link ?

  • @that_girl_blizy
    @that_girl_blizy Před 14 dny

    How do I make the page loaf with the envelope closed first?

  • @isabelsotorivera6294
    @isabelsotorivera6294 Před 3 dny

    Como instalo el programa?🥺

  • @swaranpaulathyala07
    @swaranpaulathyala07 Před 3 měsíci

    The letter text was appearing in front how can I fix it

  • @pauwixqt
    @pauwixqt Před 4 měsíci +1

    hi, i read your suggestion on the same prob i've encounter which my wrapper is still in front but when i changed it into negative z-index as what you've said, my envelope-tab became transparent. how to fix this? :

    • @aysantutorials1415
      @aysantutorials1415  Před 4 měsíci

      Hmmm! One last solution in order to solve, is to change orders of the elements and you can control by zIndex to be front or behind accordingly

  • @MaryamMudassir-j7d
    @MaryamMudassir-j7d Před dnem

    Can we code this in c++?

  • @OSamuelCoutinho
    @OSamuelCoutinho Před 6 měsíci +1

    Hello from Brazil, I want to make an animation but with several envelopes on the website, how can I frame them so that I can place, for example, a 3 row with 4 cards?

    • @shuhanli
      @shuhanli Před 6 měsíci +1

      I would recommend using grid! And then putting an envelope (div) in them, or use flex box

    • @aysantutorials1415
      @aysantutorials1415  Před 5 měsíci +1

      you can simply use flex box or grid for that purpose.

  • @STAARDUST
    @STAARDUST Před 5 měsíci

    if we have our own design for the envelope how would I insert it?

  • @shirleypocon2319
    @shirleypocon2319 Před 21 dnem

    Que aplicación es

  • @user-nx3vb9fb6t
    @user-nx3vb9fb6t Před 5 měsíci +2

    In which site we can code it?

    • @aysantutorials1415
      @aysantutorials1415  Před 5 měsíci

      here is no such website to generate card animations for envelop, you can simply try this and modify as you wish.

  • @Bnchurs3
    @Bnchurs3 Před 5 měsíci +1

    how can I share it?

    • @DesirezAJ
      @DesirezAJ Před 4 měsíci

      did you figure it out?

  • @TheLynaPlayss
    @TheLynaPlayss Před 4 měsíci

    i copied and pasted it, but it doesn't work, it's blank, only with the text on top

  • @kanehuxleybook8767
    @kanehuxleybook8767 Před 20 dny

    I code it but the letter was behind the envelope 😢

  • @leopixelstudio8098
    @leopixelstudio8098 Před rokem

    how to create box instead of envelop

  • @user-pk1tj7wy6c
    @user-pk1tj7wy6c Před 10 dny

    not working

  • @ankushjana3999
    @ankushjana3999 Před 9 měsíci +4

    My wrapper is still in front of the letter, I do everything but it does not go behind....plz help

  • @narendiranv.b5868
    @narendiranv.b5868 Před rokem

    Sir can you pls share the source code

  • @A2zShorts__01
    @A2zShorts__01 Před 3 měsíci +1

    How I send it to my girlfriend

    • @sinchanmallick135
      @sinchanmallick135 Před 3 měsíci

      Host it on some platform and then send the link to her

    • @sinchanmallick135
      @sinchanmallick135 Před 3 měsíci

      Host it on some platform and then send the link to her

  • @thobeboy
    @thobeboy Před 5 měsíci

    👎🏽