CSS Morphing Gradients Animated Background

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

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

  • @devZone7
    @devZone7 Год назад +15

    Amazing UI , you deserve 100K

  • @juanfeijoo6721
    @juanfeijoo6721 Месяц назад

    🎯 Key points for quick navigation:
    00:12 *✨ The tutorial showcases a cool gradient effect created using CSS animations and SVG filters, with circles moving and blending interactively.*
    01:08 *📜 The setup involves a vanilla TypeScript project where JavaScript manages mouse movement, but the majority is CSS.*
    03:23 *🎨 Linear gradients and root variables are set up for styling the moving gradient circles by using RGB values for flexibility.*
    04:16 *📏 The gradient background is styled to fill the viewport, with positioning that ensures a seamless visual.*
    05:34 *🎥 Animations involve circles moving and rotating using keyframes, with different placement and blend modes to enhance the effect.*
    09:02 *🖱️ Interactive feature added allows a circle to follow mouse movements, using easing functions for smooth transitions.*
    12:06 *🪄 SVG filters are employed to create a "goo" morphing effect when circles come close, adding uniqueness to the visuals.*
    13:51 *🖌️ Final result features seemingly random moving circles with text overlay, achieving an engaging and dynamic background effect.*
    Made with HARPA AI

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

    THIS IS AWESOME!!!!

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

      cool to see you here Manu! @manuarora

  • @faraaz144
    @faraaz144 Год назад +11

    Thank you so much for this!
    It looks super good on chrome. I wish it'd look better on firefox too though

  • @silakaelxis
    @silakaelxis 2 месяца назад +2

    Just used this, amazing mate!

  • @RemcoBakker548
    @RemcoBakker548 2 месяца назад +3

    Almost like a lavalamp, nice.

  • @prokira9686
    @prokira9686 Год назад +33

    Finally after 6 hr of debugging changed it to angular code

  • @jexroid812
    @jexroid812 Год назад +5

    there is a littile problem with edges in firefox browser but it was a super awsome tutorial, thanks for sharing

  • @Jay-qx9nn
    @Jay-qx9nn 3 месяца назад +1

    sick. very well made my friend!

  • @anyname8979
    @anyname8979 Год назад +11

    Красавчик, лучший!

  • @TruckWise-ic2lf
    @TruckWise-ic2lf 8 месяцев назад +3

    Converted to Nextjs code, working awesome, Thanks a heaps for the effort, Please keep sharing great things.

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

      Can you share the code link please

    • @NuttyLlamasftw
      @NuttyLlamasftw 5 месяцев назад +2

      @@aayushsomani4995 I'm literally in the process of making a React component for NextJs as I type this, ill share you the code when i have it done

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

      @@aayushsomani4995 won't let me send the code sandbox link, what's your github?

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

      @@aayushsomani4995 What's your github so i can send link to sandbox

    • @TruckWise-ic2lf
      @TruckWise-ic2lf 5 месяцев назад

      @@NuttyLlamasftw awesome, let me know if any problems...

  • @pumlajscztv
    @pumlajscztv 9 месяцев назад +3

    is jose mourinho speaking?

  • @lr4796
    @lr4796 Год назад +3

    Loved it thank you!

  • @oluanmontenegro
    @oluanmontenegro Год назад +17

    Can you provide the CSS / HTML code? to use in elementor

  • @karimmullery2187
    @karimmullery2187 10 месяцев назад +2

    Circles and blur wont show how to fix ?

  • @nelke.michael
    @nelke.michael 8 месяцев назад +1

    Golden. Thank you!

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

    чётко! супер гуд . показал этим буржуям как градиенты рисовать!

  • @2day159
    @2day159 Год назад +1

    cool work thx you for that)

  • @sandeepasineth8446
    @sandeepasineth8446 7 месяцев назад +1

    Will I convert for react or just give up...

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

    This is Awesome!

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

    I don't understand what you did in the beginning

  • @ok6747
    @ok6747 Год назад +2

    Thank you for this good video ! Is it normal that the svg effect has very low perf on firefox ?

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

      Thank you) hmm, didn't try it on Firefox, tbh. Is performance in other browsers ok?

    • @ok6747
      @ok6747 Год назад +1

      @@WeCoded Yes, it seems that all browsers use GPU except Firefox that uses CPU for rendering (even with GPU rendering on). I don't really understand how the SVG thing works but i wonder if there is a way to tell firefox to use GPU 🤔

  • @maverg
    @maverg 9 месяцев назад +1

    I downloaded source code, but it not work. How can I do!

  • @aromdanelli4650
    @aromdanelli4650 Год назад +3

    Gente, pra usar no angular é simples:
    O :root vc recorta e cola no style.css
    Fora isso, no css não muda nada.
    No html não muda nada.
    Agora no TS vai ficar assim:
    export class TesteComponent implements OnInit {
    ngOnInit() {
    const interBubble = document.querySelector('.interactive')!;
    let curX = 0;
    let curY = 0;
    let tgX = 0;
    let tgY = 0;
    [...] restante do código sem mudar nada

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

      Would you explain this in depth? I'm really fascinated with your research

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

    Quick question, I can't get the goo filter to work. I copied your code and even cloned the repo, but it didn't work. What am I doing wrong here?

  • @dr.gurn420
    @dr.gurn420 3 месяца назад

    does animating the background slow anyone elses browser down? i managed to get a cool effect but im worries it will be slow for the end user. e.g. all my hover items are now delayed.

  • @courtneybodkin5556
    @courtneybodkin5556 3 месяца назад

    I have used this in a project. How do you recommend supplying this to a developer?

  • @adarshsingh2954
    @adarshsingh2954 9 месяцев назад +1

    Hey I am getting some problem
    When I downloaded the source code it's only showing the text Bubbles when I open it in live server no animation nothing is showing then I tried to host it to test it's not showing anything either hey can anyone help me

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

      same

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

      Wondering if you fixed this? got same problem

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

      @@ConnorGraphics no bro it isn't fixed do you have any idea

  • @Человек-ш4о
    @Человек-ш4о 10 месяцев назад +1

    О, наш человек)

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

    What happens when theres also other pages, would the meshes move along with the scroll? Please respond!

  • @itsjmendez
    @itsjmendez Год назад +1

    This is 🔥

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

    It's super cool on Chrome, but it doesn't look well on Firefox, why ?

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

    Beautiful!

  • @DavidCoelho-d1o
    @DavidCoelho-d1o 4 месяца назад +1

    this has a big problem that makes the gpu work to hard

  • @leejacksondev
    @leejacksondev Год назад +2

    Any hacks to get this to work in Safari? Looks epic in Chrome but Safari it shows as ovals moving around the screen. Would love some ideas.

    • @WeCoded
      @WeCoded  Год назад +1

      Hi, I've been trying to fix this in other browsers with no success so far. Only managed to get the blur working, but the custom svg filter doesn't seem to work in safari unfortunately. This seems to be a known issue.
      The only solution I could think of now is to try replicating this effect in canvas using shaders - which is a totally different story. But at least it'd guarantee the consistency of the effect and would give maximum performance.

    • @leejacksondev
      @leejacksondev Год назад +2

      @@WeCoded fixed it. Just apply to g1 , g2 etc as they don’t inherit.
      -webkit-filter: url(#goo) blur(40px)

    • @WeCoded
      @WeCoded  Год назад +5

      @@leejacksondev , I believe this only fixes the blur filter. The goo effect still doesn't work for me

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

      @@WeCoded
      @leejacksondev
      Hey, to fix the bubble shapes, set the circle-size variable dependent from your device width,
      ```
      --circle-size: 80vw;
      ```

    • @hasaam
      @hasaam 2 месяца назад

      @@leejacksondev Hey man, are you able to explain a bit more how you were able to get this to work in safari? I tried placing the svg filter inside g1 g2 g3 etc but this didn't work :(

  • @ozzyfromspace
    @ozzyfromspace Месяц назад

    legend!

  • @ADIB-xe3rz
    @ADIB-xe3rz 4 месяца назад

    how can i implement this on my elementor website?

  • @shamrouzawan
    @shamrouzawan Год назад +1

    got a new subscriber

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

    Does this increase CLS (Cumulative Layout Shift) for the core web vital performance ...?

    • @arpiliad7739
      @arpiliad7739 10 месяцев назад +1

      No, it shouldn't.

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

      @@arpiliad7739 You are correct, I also checked it

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

    how to implement on elementor on wordpress?

  • @RocoSafreti
    @RocoSafreti Год назад +1

    Nice 😀

  • @Real909Demon
    @Real909Demon 9 месяцев назад +1

    it doesn't work, and it is impossible to install this on windows

  • @d3adweight
    @d3adweight 10 месяцев назад +1

    i love you bro

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

    oh yeah, this is the stuff

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

    can you publish the source code?

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

    Nice! The explanation goes a bit quick however and it's difficult to follow what code gets pasted. Very nice tho!

  • @oglothenerd
    @oglothenerd Месяц назад +1

    Slav brother?

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

    как это вставить в elementor?

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

    anyone get this to webflow?

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

    Thanks brah

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

    great!

  • @shpekov
    @shpekov Год назад +1

    safari doest work

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

    Which font-family?

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

    not working

  • @kelartesgrowth
    @kelartesgrowth Год назад +1

    como aplicar isso no elementor?

  • @MS8A
    @MS8A Год назад +1

    I want copy code

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

      Source code is here finally :) Check description

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

    thnx

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

    не работает

  • @rfryanfavour4369
    @rfryanfavour4369 Год назад +1

    No source code 😅... thanks btw

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

      I should've published it, true 😅 maybe I will, just need some extra time

    • @WeCoded
      @WeCoded  Год назад +3

      Added the source code :)

    • @rfryanfavour4369
      @rfryanfavour4369 Год назад +1

      @@WeCoded you are an angel ... thanks million

  • @ОлуксійСергіїович
    @ОлуксійСергіїович 8 месяцев назад

    лол наш што ли ?

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

      Кнш😊

    • @ОлуксійСергіїович
      @ОлуксійСергіїович 7 месяцев назад

      @@oldiBerezko_ акцент жесть ))))) ті давно в єтой сфере ? мог бы мой сайт покретиковать можнт посоветовать в общем взглянуть +
      мненние ?