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

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

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

    We need a tag for curved sections on HTML6

    • @tommymaher4166
      @tommymaher4166 3 года назад +87

      This went largly unnoticed and I'm disappointed.

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

      Needs to happen.

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

      That could be a nice react component

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

      @@tommymaher4166 true

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

      we do frfr

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

    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 3 года назад +1

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

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

      @Fireship plise shire your vs code setting and icon etc

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

      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 года назад +389

    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 3 года назад +70

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

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

    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!

  • @faizrehman4382
    @faizrehman4382 24 дня назад

    you are just blessing searched for more than a year for these things but finally found your video. love and respect.

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

    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?

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

    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 года назад +16

      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 года назад +8

      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 3 года назад +3

      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

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

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

  • @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.

  • @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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Zelená Žaba "EDITED"

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

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

  • @loveandroid62
    @loveandroid62 3 года назад +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!

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

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

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

    Love how nice css/svgs can make websites look

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

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

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

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

  • @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.

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

    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 🤣

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

    The animation at the beginning was satisfying and silky smoove

  • @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. 🔥

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

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

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

    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.

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

    Right when I’m making my portfolio page!

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

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

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

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

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

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

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

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

  • @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.

  • @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!

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

    Now, this is Quality Content!!!!

  • @raresdude
    @raresdude 3 года назад +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).

  • @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 😀

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

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

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

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

  • @coco_deer
    @coco_deer 3 года назад +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!

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

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

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

    My website will get a massive upgrade, thanks Jeff

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

    instead of using an empty div maybe the would be better for this purpose ! i just tried it and it works perfectly as expected

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

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

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

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

  • @whybe-m8n
    @whybe-m8n 8 месяцев назад

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

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

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

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

    I am blown away. It is that easy? Dude...

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

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

  • @biruktad3327
    @biruktad3327 6 месяцев назад

    Wow! This helps me break many dev territories. 'SVG made easy' would be a proper title. Thx.

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

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

  • @CobraunieSC
    @CobraunieSC 7 месяцев назад

    THANK YOU BECAUSE OF YOU I AM NOW A LVL 2 DESIGNER

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

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

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

    probably the only only time I increased playback speed on a fireship video..only coz it was html css and lightweight js.
    but as usual, amazing content♥♥

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

    I absolutely love this channel!

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

    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.

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

    Woah I didn't know about the flex box console thing

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

    Its always the same with youtube tutorials. You have a idea what you want to do and you dont really know how? The next day comes a fireship tutorial with that idea.
    Really nice tutorial, thank you!

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

    It was really easy to understand please make video like this

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

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

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

    CSS is tough, but you make it look easy, pal.

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

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

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

    bro, my million dollar todo app idea will look sick because of this!

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

    Pro tip. Just use a background generator that creates waves. Match the background color to your root body color. No messing around. Looks beautiful.

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

    your content gives me motivation to code, you are awesome

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

    Fireship keep dashing out godlike content

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

    I’m jealous of you for all the knowledge you have.

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

      Don't be jealous as you might have some hidden skills which Jeff doesn't have
      He gained this knowledge with experience and so you too
      I assume you are very talented
      Just keep practicing

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

      @@IshanKBG 😂 I didn’t mean it as jealousy jealousy 😂 it’s a figure of speech showing that this guy is insanely smart and talented.

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

      @@AtomicCodeX ik but ya you are talented as well don't forget it!!

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

    This tutorial is one of a kind.

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

    Forget the curves, that's some next level Emmet 👀

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

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

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

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

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

    Genuine quality video!Insane!!

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

    3 min into the vid I subbed, thank you brother

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

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

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

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

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

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

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

    I'm so grateful for this video

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

    You are awesome. Thank you so much.

  • @4xHitler
    @4xHitler 3 года назад +1

    for anyone having issues with divs "eating" up another div aka "how do I put the curve div in front".. use z-index on the divs that clash and set the one behind with lower z-index and the in front with higher z-index. also make sure both classes have position statements in their stylesheets.
    helping sources: stackoverflow
    - just me trying to copy paste and troubleshooting his code

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

    Wow ! Thanks for the tutorial !

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

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

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

    Thank you sir for such a simple yet powerful video

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

    I'm full with the confidence in less time very helpful video

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

    Thank you! This video saved my life!

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

    I had no idea about emmet WTF THIS IS AMAZING

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

    This video is a gem

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

    Damn man , it drastically changed the way I work

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

    Literally looked this up today. Perfect!

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

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

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

    Css before and after was created for adding simple text or symbold at the beginning and end of element. Today is one of the most used tools in css to create pseudo elements. An new way to create pseudo elements via css should be created, that allows unlimited elements and fine control of its position, like div:pseudo("name"){location:before;}
    Location could be before, after or even sibling another child element

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

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

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

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

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

    this is literally what i need

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

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

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

    Your channel is soo good, I disabled AdBlock

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

    An easy method to adjust those circles is to use the chrome css dev tools and drag the translate property and preview it visually

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

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

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

    Wow. This is awesome

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

    little tip for everyone who struggles with the background on a wqhd/UHD or mobile screen, set heigth to 100vh.

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

    I forgot why I subscribe to the channel, now i rebember

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

    i dont like css but i like you, thank you for the videos