Это видео недоступно.
Сожалеем об этом.

Build a Curvaceous Homepage // Wavy Background Tutorial with SVG & CSS

Поделиться
HTML-код
  • Опубликовано: 4 авг 2024
  • Learn how to design a website with curved or wavy backgrounds using HTML and CSS. Then take things to the next level by adding a morphing SVG animation with JavaScript fireship.io/lessons/wavy-back...
    #webdev #css #tutorial
    🔗 Resources
    Code github.com/fireship-io/wavy-c...
    Shape Driver www.shapedivider.app/
    Haikei App haikei.app/
    📚 Chapters
    00:00 Wavy Web Design
    00:49 Flat HTML Website
    03:26 CSS Wave
    05:51 CSS Bubble
    06:21 SVG Wave
    07:15 SVG Layered Wave
    08:58 Animated Blob
    🤓 Install the quiz app
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    🔥 Watch more with Fireship PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font

Комментарии • 490

  • @JanPark
    @JanPark 3 года назад +1868

    We need a tag for curved sections on HTML6

    • @tommymaher4166
      @tommymaher4166 2 года назад +86

      This went largly unnoticed and I'm disappointed.

    • @Magnogen
      @Magnogen 2 года назад +15

      Needs to happen.

    • @bossdaily5575
      @bossdaily5575 2 года назад +30

      That could be a nice react component

    • @proloycodes
      @proloycodes 2 года назад +2

      @@tommymaher4166 true

    • @stoningupper
      @stoningupper 2 года назад +1

      we do frfr

  • @DevanSoni
    @DevanSoni 3 года назад +1203

    You’re a machine for pumping out quality content so consistently. Really appreciate your work!

    • @mostrush4849
      @mostrush4849 3 года назад +8

      Quality Pump! 😁

    • @the_lee_effect
      @the_lee_effect 2 года назад +1

      Haha... The clue is in the name... FIRESHIP 🔥.... It's rapid reaction....

    • @Asia_Bangladesh
      @Asia_Bangladesh 2 года назад

      @Fireship plise shire your vs code setting and icon etc

    • @maximsollogub3579
      @maximsollogub3579 2 года назад

      I bet there's a team behind most videos. On the other hand, if Web Development is what he does for living, he is just able to learn this stuff really fast. If you spend a couple of years developing websites, you will develop quick learning skills. After a while, you won't even need tutorials, as you will be able create examples right after reading docs. And also, did he really master all the things he showed? He had a video about ten different JS frameworks, of course he probably didn't even learn most of them. But I agree, his videos are great.

    • @alchemistmd2422
      @alchemistmd2422 2 года назад

      Yes

  • @adityakhare2935
    @adityakhare2935 3 года назад +386

    This guy even Creates things inside his head while sleeping, I just finished making my raw design on Figma and had started searching for ways to create curved background shapes. Then I took a break and opened my youtube and this video pops up.
    You never cease to amaze me.

  • @ysammo214
    @ysammo214 2 года назад +68

    That HTML emmet shortcut for creating all those initial sections was amazing, i had no idea emmet was that useful

  • @WilChow
    @WilChow 3 года назад +40

    One of the best SVG wave tutorials I've watched.

  • @Sintax_
    @Sintax_ 2 года назад +17

    I always thought that adding curves to the website is going to be hard yet here you are providing me with easy ways to do that. Can't thank you enough!

  • @soumyajitdey5720
    @soumyajitdey5720 3 года назад +5

    This is hands down the BEST channel that produces QUALITY content which is ENTERTAINING AF! Keep up the good work man.

  • @loveandroid62
    @loveandroid62 2 года назад +7

    You're the best! Your videos are clean, well-explained and you always make sure to explain each step, from what emmets are (basic concept) until what you're projecting before actually coding. Thanks a lot!

  • @acm1812
    @acm1812 3 года назад +155

    What a coincidence, I was just working on a project and was trying to implement these types of waves.

    • @dheerajprakash1419
      @dheerajprakash1419 3 года назад +20

      Not a coincidence, he can read people's minds and make a video that is always what someone is trying to make at the time, happened to me twice

    • @anjelpatel36
      @anjelpatel36 3 года назад +4

      First time he read your mind?

  • @coco_deer
    @coco_deer 2 года назад +1

    This is the coolest thing I've ever seen! I was trying to implement something similar to my portfolio website but didn't find any videos that explains it this clearly and easily.
    Thank you so much!

  • @LofiWurld
    @LofiWurld 3 года назад +67

    We need a course on how you’re soo productive lol

    • @astolfo-official
      @astolfo-official 2 года назад +1

      Its probably him enjoying things or having learnt to enjoy working on these.

    • @abc.2924
      @abc.2924 2 года назад +1

      @Zelená Žaba yeah nah, that's not how it works

    • @arc8218
      @arc8218 2 года назад +1

      @Zelená Žaba bullshit 🤣
      This man not even have "join" button lmao
      How the fuck 1000 sub = 300k ? LMAO

    • @arc8218
      @arc8218 2 года назад

      @Zelená Žaba well u not said on website lmao

    • @arc8218
      @arc8218 2 года назад

      @Zelená Žaba "EDITED"

  • @murat6018
    @murat6018 2 года назад

    I just started watching and you blew my mind twice already. Such a quality content!

  • @terrificfrogg8377
    @terrificfrogg8377 3 года назад +2

    Your videos are incredible. You always make web dev exciting. Thank you so much

  • @ednethgirao
    @ednethgirao 2 года назад

    Dude, You're the best!
    I dont even finish whatching, but I already get excited!
    Nice content, congrats!

  • @prempeacefulchannel
    @prempeacefulchannel 3 года назад +2

    Quality content ever since I got to know about this channel! Thanks man

  • @mrherpes2971
    @mrherpes2971 2 года назад +1

    I cannot believe this!! Finally a tutorial i can understand!!! Ty so much fireship

  • @daleryanaldover6545
    @daleryanaldover6545 3 года назад +2

    I have a simple wave divider on my current project using svg and you just gave me an idea how to animate the thing. 🔥

  • @FedericoTartarini
    @FedericoTartarini 3 года назад +1

    Great video as usual. Thank you so much for uploading great tutorials.

  • @ChumX100
    @ChumX100 3 года назад +255

    SVG supports animations natively, you can do path morphing as well as move objects along paths. I tried it recently and the API was pretty straight-forward. The result and amount of work was comparable to a dedicated animation library like animejs.

    • @thecashewtrader3328
      @thecashewtrader3328 3 года назад +1

      I see

    • @alenygam6048
      @alenygam6048 3 года назад +1

      Ok I'll try.

    • @chamberlainpi
      @chamberlainpi 3 года назад +15

      Are you sure browsers supports SVG morphing natively though? It sounds like the Kute library specializes in that feature, while native support would be utilized for simpler drawing along a consistent path (ex: hand signature), element translating/scaling/rotating animation.

    • @MaulikParmar210
      @MaulikParmar210 3 года назад +7

      That's true as long as svg is in line so dom can pick it up, if it's loaded via HTMLImageElement it's encapsulated in own canvas and processed in out of browser rendering context and pixels are embeded back, thus your animations won't work where svgs are loaded externally. Unless you inline them at load time again by enumerating each image elements in DOM, regardless rendering context matters.
      P.S at the end browser has to draw and raster the vector to build pixels, but it's not always possible to get hold of elements inside svg in different renderers.

    • @MsVsmaster
      @MsVsmaster 2 года назад +2

      I guess natively works but the paths needs to have the exact number of points between each svg, with the library probably have this fixed

  • @dillonmaks567
    @dillonmaks567 2 года назад

    I learn so many cool shortcuts and tricks from your videos. Thank you so much!

  • @SweedyMick
    @SweedyMick 2 года назад +3

    Awesome tutorial, I love how you go straight to the point with your videos. I learnt a lot and discovered nice tools too.
    Seems like a kid in the background enjoys it too at 7:20 😀

  • @luzaw4957
    @luzaw4957 2 года назад

    I almost skip this video because I used to do this kind of waves for my projects but after I watch this, wow! it has many different approaches. I learned a lot. Thanks fireship.

  • @drizzzzz
    @drizzzzz 3 года назад +1

    I absolutely love this channel!

  • @vshlmlvliveit
    @vshlmlvliveit 3 года назад +1

    Always something interesting to learn from you and these tools you introduced are simply awesome👏👏👏

  • @thememesarealive9813
    @thememesarealive9813 3 года назад +2

    Love how nice css/svgs can make websites look

  • @leandroviana7494
    @leandroviana7494 2 года назад +1

    Man, this is some seeeeeeeerious creative frontend content in this video! Loved it.

  • @lanceang795
    @lanceang795 2 года назад +2

    1 minute into the tutorial, you already taught me how to save 10 minutes of typing. You are amazing at teaching1

  • @syedahamed2362
    @syedahamed2362 3 года назад +2

    Now, this is Quality Content!!!!

  • @billycroacker
    @billycroacker 10 месяцев назад

    Thank you man, this video was amazing 👍 I subscribed without blinking after watching this.

  • @deepesh16b
    @deepesh16b Год назад

    you have literally teached me a 3hrs content which I have not even heard of earlier. Thanks 🙏. Loved ur Teaching ❤❤

  • @zafirhasananogh2421
    @zafirhasananogh2421 2 года назад +1

    Your videos are just amazing. They have something that other videos don't. Keep up the good work and appreciate it! Could you do more HTML tutorials though :p

  • @someoneperson7257
    @someoneperson7257 2 года назад

    you are the only dev who not running out of contents!

  • @cpemby
    @cpemby 3 года назад

    Literally looked this up today. Perfect!

  • @uwemuke720
    @uwemuke720 2 года назад

    Just what i've been looking for, thank you.

  • @johnlin6121
    @johnlin6121 2 года назад

    Just needed a tutorial on this topic and this appeared in RUclips's feed. Thanks!

  • @fagbenjaenoch
    @fagbenjaenoch 2 года назад

    I've been looking for this video like forever 😭Thanks Jeff😇

  • @olteanuvlad5988
    @olteanuvlad5988 2 года назад

    Genuine quality video!Insane!!

  • @aryansoni9150
    @aryansoni9150 8 месяцев назад

    I followed and made this myself and it works and looks beautiful, thanks jeff

  • @4MXW
    @4MXW 2 года назад

    I was avoiding learning Emmet for a while now. It was time.
    1 good example and all of a sudden doesn't look overwhelming anymore.
    Really thx for that.

  • @Zeph504
    @Zeph504 10 месяцев назад

    Not only you teach us how to make curve, you also gave a tip for making my life easier. you earn more subscriber

  • @princewillchukwujama1199
    @princewillchukwujama1199 Год назад

    3 min into the vid I subbed, thank you brother

  • @shaswatdas6553
    @shaswatdas6553 2 года назад

    I love the background song intro and outro song. Just started learning css. These are really good.

  • @fury365
    @fury365 3 года назад +1

    You save so much time and good explaination. You dont waste time in writing code

  • @mariomodulor2190
    @mariomodulor2190 5 месяцев назад

    Thank you! This video saved my life!

  • @GawpMan
    @GawpMan 3 года назад +12

    If you don’t want to use an empty div, you can put the svg in an image tag and style the width to 100%.
    Great video tho def using the apps mentioned

  • @parrySc
    @parrySc Год назад

    You are my #1 content creator. What a beast!!

  • @GuidoTerceros
    @GuidoTerceros 3 года назад

    Nice work bud, your site is the most interesting keep going!

  • @WTFAnyNameWorks
    @WTFAnyNameWorks 2 года назад

    Man, you're on FIRE!
    I love you, man!

  • @johncoleman6293
    @johncoleman6293 Год назад

    I'm so grateful for this video

  • @cesarzaitoun1129
    @cesarzaitoun1129 5 месяцев назад

    This is awesome i have used it in my portfolio, thank you so much 👍

  • @Samkhan-cl9bo
    @Samkhan-cl9bo 3 года назад

    Awesome 👍. Loved your content💗. Appreciated 👏

  • @CarlAshfield
    @CarlAshfield 3 года назад

    Once again! Amazing video!! 👏

  • @svenkuffer4512
    @svenkuffer4512 2 года назад

    I was doing a website a few months ago, and this is just what I needed, I ended up using different libraries for the morphing that did not give me a perfect result, I will redo it and try it your way, thank you. I also did not know about the aspect-ratio tag, that was another problem I was having, that I solved differently, but this is much cleaner.

  • @daedalus5070
    @daedalus5070 2 года назад +10

    As something of a newbie, I always wondering how these mega slick looking curves (and icons!) get made. Great tutorial, immediately bookmarked all those tools.

  • @zemonsim
    @zemonsim 2 года назад +1

    Wow ! Thanks for the tutorial !

  • @ankibha203
    @ankibha203 11 месяцев назад

    Searching for something..to learn about waves to create them.. found you.. n its helpful. Thanks man 😊

  • @aCitizenJOSerased
    @aCitizenJOSerased 3 года назад

    Dude, u rock!
    Let's ride those fancy waves!

  • @salonikansal8431
    @salonikansal8431 3 года назад

    your videos help us a lot thank you for making them.

  • @theshelbypalace
    @theshelbypalace Год назад

    this is amazing!!!!! Thank you!! new subscriber! 🥳

  • @fairytailnaruto7693
    @fairytailnaruto7693 3 года назад

    OOOH. I love you, that’s just what I searched for.

  • @ThePowerRanger
    @ThePowerRanger 3 года назад +1

    You are awesome. Thank you so much.

  • @wattsfield1889
    @wattsfield1889 2 года назад

    Fireship keep dashing out godlike content

  • @CraigPerry
    @CraigPerry 3 года назад +1

    Just a firehose of pro tips. Insta-subscribe.
    Awesome content. Awesome delivery.

  • @migvelv
    @migvelv 3 года назад +9

    Right when I’m making my portfolio page!

  • @AlexanderMooney-fd7lf
    @AlexanderMooney-fd7lf Год назад

    Great video! I learned so much!

  • @santiagoamarozeballos1390
    @santiagoamarozeballos1390 2 года назад

    Ty so much, it was a great help for my personal portfolio :)

  • @buttslaya
    @buttslaya 3 года назад

    Just what
    I needed!

  • @FilipCodes
    @FilipCodes 2 года назад +1

    Wow. This is awesome

  • @hrushalnikhare8836
    @hrushalnikhare8836 3 года назад

    Thanks, Fireship!

  • @frankiefab
    @frankiefab 2 года назад

    This tutorial is one of a kind.

  • @dvalley56
    @dvalley56 2 года назад

    Thank you sir for such a simple yet powerful video

  • @ay2s389
    @ay2s389 2 года назад

    Juste awesome!!
    You're genious bro, thanks 👍

  • @olukmark
    @olukmark 2 года назад

    Cool video. Thanks a bunch!

  • @luisguilherme2403
    @luisguilherme2403 2 года назад

    I've been coding css for about 6 years now and damn these beginner friendly tips did help me out on a load of things 🤣

  • @elijahlair
    @elijahlair 2 года назад

    My website will get a massive upgrade, thanks Jeff

  • @pauljohn3898
    @pauljohn3898 2 года назад

    Absolutely amazing

  • @ihackedpiggy3212
    @ihackedpiggy3212 2 года назад

    this is brilliant, thanks!

  • @BrianClincy
    @BrianClincy 3 года назад +1

    Who in the heck dislikes this [haters]? I appreciate your teaching style it has help me get into a programmer mindset and think what's the most effective way to do it. Thanks sir!

  • @imran4935
    @imran4935 Год назад

    This video is a gem

  • @mishelrodri
    @mishelrodri 2 года назад

    Nooo man !!! I LOVE IT!!!

  • @brianevans4
    @brianevans4 3 года назад +5

    Hope we get some more SVG tutorials! I always impressed at how some websites use it

  • @literallybiras
    @literallybiras 3 года назад

    This video came in such a timely manner it scared me. I was searching for this

  • @aminezz2584
    @aminezz2584 3 года назад +6

    your content gives me motivation to code, you are awesome

  • @whybeproduction4106
    @whybeproduction4106 4 месяца назад

    You made the best video ever created about teaching and explaining something 😂🤜🏽🤛🏽

  • @manzurajshahi
    @manzurajshahi 3 года назад

    Very helpful tutorial. Kudos.

  • @m_fadhln
    @m_fadhln 3 года назад +1

    came for the ✨wave✨, left with a bunch of new tips and knowledge

  • @raresdude
    @raresdude 2 года назад +11

    Amazing video as always!
    Another method I use for simple transitions between sections is the clip-path CSS property. I use it along with the Clippy tool to easily generate the css code. I love that it is also responsive as it uses percentages and you don't need to add other html elements, just set clip-path on the section and maybe give it a negative margin-bottom or so. 🙌

    • @theulfhednar2655
      @theulfhednar2655 2 года назад

      could you elaborate on the clip-path thingy? (bit curious on how you used it, I am a bit of a noob still so yeah).

  • @Oversampled
    @Oversampled 2 года назад

    Thank you sir

  • @imagineeelego
    @imagineeelego 3 года назад

    this is literally what i need

  • @yashmistry1918
    @yashmistry1918 Год назад

    Only if they used this teaching style in school..... Simple, to the point and informative.

  • @jackbarham
    @jackbarham Год назад

    Worth it, just for the dev tools flex box viewer. I had no idea!

  • @kevinpei70
    @kevinpei70 2 года назад

    i just want to say thank you!

  • @amandabiwoye456
    @amandabiwoye456 2 года назад

    Great Stuff!

  • @EscOfficial
    @EscOfficial 3 года назад

    Thank you Fireship 🤯💥💥

  • @knockedgoose4206
    @knockedgoose4206 Год назад

    The animation at the beginning was satisfying and silky smoove

  • @drkmgoswami3042
    @drkmgoswami3042 3 года назад +1

    It was really easy to understand please make video like this

  • @vaniad555
    @vaniad555 3 года назад

    perfect timing 😄

  • @systemthirtytwo
    @systemthirtytwo 3 года назад +1

    Oooo, gonna use this on my website :D

  • @janzca6829
    @janzca6829 2 года назад

    Thanks bro, such a crack!

  • @LarsRyeJeppesen
    @LarsRyeJeppesen 3 года назад +1

    Very nice, thanks