Can I recreate Stripe’s text effect?

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

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

  • @whitetoggled5546
    @whitetoggled5546 2 года назад +47

    CSS never ceases to amaze me, the amount of things you can make with it, the only limitation is your curiosity

  • @darkbluebossa
    @darkbluebossa 2 года назад +172

    Cool! I would love to see more ´real world´ examples. Sometimes I enter in these inspiration websites and I don´t even know the name of the effects some websites are using (it´s hard even to search for tutorials)

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

      💯

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

      Same here

    • @justinjesalva8665
      @justinjesalva8665 2 года назад +6

      My general rule is if it's a 3D effect, it's Three.js and if it's cool animations, it's GSAP. Most of the time it's right. 😅

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

      @@justinjesalva8665 good tip. Never learned GSAP, but I see there are several videos about it.

  • @ThatRobHuman
    @ThatRobHuman 2 года назад +6

    a mix-blend-mode of overlay is often a good starting point. It has an appreciably effect when the source layer is practically any color (except mid-tone grey).

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

    I love how u told us in the beginning for the flashing lights. I felt like being cared for ❤

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

    Your ability to find mistakes in your approach before you even start writing code is super awesome!...it's like having a CSS compiler on your head. Great content as always ♥️

  • @thec-m
    @thec-m 2 года назад +3

    This channel popped up in my recommendations and I'm glad it did. I have limited CSS knowledge, but this video was surprisingly relatively easy to follow.
    I'd be interested in seeing more videos where you reverse-engineer effects on other sites. CSS can be overwhelming, especially when viewing source code on professional sites, but this makes it easier to understand.

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

    As a beginner this video blew my mind, thanks Kevin, please keep doing this kind of videos.

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

    You're an absolute beast !

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

    I think the reason why console was showing x & y -> not defined is because you have to define (use let) inside the bracket syntax of the for loop instead of defining those variables in the global scope. Nice insightful video btw Kevin!

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

    This is so awesome!!!!! I built something very similar using this tutorial for my portfolio website. The result amazes everyone! Thank you so much for sharing.

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

    I always learn so much from these videos, Kevin is goated

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

    Thank you for making CSS accessible for the younger generation of developers!

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

    Very useful to see how you approach this, Kevin.

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

    Nice last few month I am hooked to the animations

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

    Great problem solving skills. Great way of testing your css knowledge by trying to apply real world effects like these

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

    Beautiful! You're a true wizard Kevin. I will definately use this somewhere!

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

    Wow, that was basically what I expected it to be.

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

    That was fun to watch and would love a bit slower paced so that I could follow along and recreate. Either way, this has been saved into my education folder to go over again.

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

    Some great nuggets in this video, thanks for showing your process a bit, too. It's great to see experts struggle like the rest of us from time to time :)

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

    Man, I really appreciate you making videos like this. Great work 👏

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

    Really fun video Kevin! Hope to see more real world CSS reverse engineered!

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

    Very clever solution!

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

    I like the new layout. Also, thanks for the flash warning :)

  • @mr.truzzell
    @mr.truzzell Год назад

    Wow! Really like your content and how you presenting it. Thank you!

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

    I would love to see such amazing contents....great stuff ❤️❤️

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

    neat. it's fun to go through this process. I imagine sandwiching the color wash between the texts might be more direct. top with the color burn and the bottom being 100%. will experiment when I get time.

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

    Thank you for your video! Please keep making this sort of videos.

  • @thomas-gk9jp
    @thomas-gk9jp 2 года назад +2

    Hey Kevin, maybe you could delete some « headache » by using another blend mode, color burn is really aggressive imo.
    Maybe the best way to achieve such an effect would be to open photoshop or another software do the effect and replicate from it on css ?!

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

    Loved the new setup 👍

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

    Thank you Kevin, I found this impressive and inspiring.

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

    Loved this type of video!

  • @Mr.RobotHead
    @Mr.RobotHead 2 года назад +2

    I really love videos like this, and I wish I had more time to putz around try to replicate interesting designs I find on the 'net. I used to learn so much doing that.

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

    Love it, please make more!

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

    I would love a series on this where we look at cool effects of different websites and reverse engineer the,

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

    If I like this type of video? No.... I LOVE IT! ❤
    I tried this myself only a couple of months back, and came up what was close but no there.
    Btw. For me, it's way easier to follow your code when it's not zoomed in that much.

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

    Please make more of these real world examples!! 😀

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

    Cool thanks I don't know about the others but I really want this type of videos

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

    Loved it! Need more like this🤤

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

    Sooo cool. I love this... do more of these real page tries

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

    Yes, more like this please.

  • @filipf.5797
    @filipf.5797 2 года назад +3

    Like it, I think this backward-enginnering if we could call it so is great way how to learn and practice new things that are nice at the end. please do more videos like this :D Do more interesting modern pages like this .... :D 🥰

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

    Absolutely amazing

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

    Entertaining episode. And, it looks so easy when you do it ;)

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

    Brilliant! Thanks!

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

    Amazing content as usual. Aweome work Kevin!

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

    Wow, great video!

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

    Loved this video, would love to see more like this!

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

    Thank you Kevin

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

    Wow, stripe are amazing who the bananas wrote all that JS to get that great effect!

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

    So cool. Got to know more CSS properties.
    Can't we use overflow: hidden properties for the trick?

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

    Great video. Maybe make a video with an advanced slider (arrows, navigation dots, autoplay, some animations, transitions). I know it can last more than one hour or two because there is a lot of things to explain but I think it could be the best explanation on youtube.

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

    great video!

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

    PLEASE DO THE STRIPE MOCKUP ANIMATION CSS !!!!
    No one has ever even tried to explore that AREA in the STRIPE website

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

    do you have a video on isolate? was the only bit I didn't understand 😕

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

    the reason that x variable didn't work at your js file is strict mode. all type="module" js files run on strict mode and you can't use an undeclared variable in strict mode. but in codepen it wasn't any strict mode.

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

    Thanks!

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

    Love it❤

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

    very cool! thanks a lot.

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

    Fun fact: You can play with the gradient animation in detail if you do the Konami code on the stripe homepage.

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

    Hey Kevin, Is there a codepen for your final code? All I see is the link to the animated gradient background you used. TIA! Love your videos!

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

    Amazing content!

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

    This example is really cool can you make a video on css tricks home page there page grid layout is really awesome

  • @vladislav.c
    @vladislav.c 2 года назад

    Thanks a lot

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

    Really cool! 'canvas' is new to me tho .. 🤔

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

    wow hahah this is super cool

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

    hi, cheers from méxico. thank so much for your videos. can you explain if we can make a functional simple page to sell? maybe a static html site like an ecommerce page?

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

    AMAZING!, Really love this video. Pls Pinterest Home Page Effect 🥺❤️

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

    What about the epay, can you do that as well I'm trying to practice the stripe's page for my project

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

    Cool effect! But for me the most amazing moment here was already 6:26. Kevin needs 2 seconds to realize that this weird offset is caused by collapsing margins. 2 seconds!

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

    It is created by Benjamin De Cock he is world's best designer developer and W3C member, his works are so inspiring

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

    Thanks ❤️

  • @howling-wolf
    @howling-wolf 2 года назад

    A audio warning when stuff like flashing images and so on appear would be nice i guess. Cuz I can imagine the people affected by it just looking away. And then they dont know when its over.

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

    Brilliant @

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

    Did same for a project 👍

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

    Hi kelvin...cool video for real...Can i ask you something....cool you make a video about complex html table and their responsive view?For example introducing nested table?

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

    I know you researched this before doing the video so would have taken longer, but still. I can spend a whole day building and tweaking a complex hero design 😂. It would be interesting if you mentioned how long the whole thing actually took you?

  • @vivekkumar-pc1xy
    @vivekkumar-pc1xy Год назад

    sir, one day i'm going to meet you. You are awesome as CSS

  • @kushagra-aa
    @kushagra-aa 2 года назад

    greattt!!!

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

    Please show us how they did the navigation menu.

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

    Dude that’s actually pretty sick. You got a discord channel ?

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

    You do know an html elements can have multiple classes, right? You were using custom attributes when the semantic version of that appeared to be multi-classing to me.
    (Code example:
    A
    B
    .mainclass {
    font-size: 5rem;
    }
    .mainclass.subclass {
    color: red;
    })

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

    Why do you but the * selector on the pseudo-elements.? I thought that the * selector works for all the elements, even the pseudo-elements.

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

    can we get a tutorial for the wave effect of the stripe page

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

    cool

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

    I was just looking at the stripe website not to long ago wondering how this was done lol

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

    you guess t is time? bro read the code you just pasted. R G B is red green blue, we animate every time recursively by asking it to run() everytime an animation frame is ready, t is affecting how much we change the colour between each frame. i cba to apply my brain more to figure out how this maths generates the colours and im bad at css3 gradiants and shit but u get the idea. for the typography and stripe code, 2 layers stacked to 0.3 is going to let some colour through, but colour + 2 stacked on grey will show less white bg through and look better. this all makes sense the moment i see it tbh

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

    Yeah, it's called "Inspect element"

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

    Hi! I'm only starting on web dev, I've recreated this following the video and seeing it perfectly on the VSC preview, but for some reason, opening this locally with Chrome/Safari, etc. doesn't show the effect. Is this related to some JS browser permissions?

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

    hi sir what application did you use to really automaticall rrload your design?like on your right side? im curious😶

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

    cool !!!!!!!!!

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

    13:29 Don't use innerText...
    15:05 You can use rgba color?

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

    Nice debunking of a Wow effect U.I. 😄

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

    Hi, Kevin! Can you also take a look at the State of CSS 2022 survey? I found some many new properties and styling techniques I have never heard.

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

      I already took some notes for future video ideas while going through it :D

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

    I just checked the Stripe page, and apparently the images on the homescreen are made with HTML elements and aren't pictures
    Is this easy to do? Maybe remaking this could be another video

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

      I saw that too and was wondering why in the hell they'd bother with that, lol. An SVG and be done with it? Maybe someone was bored at work and had some time to kill, lol.

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

    for(var/let x=0;...) fix it too, and with better scope.

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

      Agreed, I don't know why he went to declare them globally.

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

      ​@@wlockuz4467 he is not good at js, he mentions it all the time

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

      As Siddiq mentioned, JS is *far* from my strength, and on top of that, I wasn't really worrying about anything other than getting it working, so the two together resulted in that :D

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

      @@KevinPowell Fair enough, appreciate the reply :)

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

    Mix blend?

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

    Does anybody have any idea how to re-create stripe's "Modular Solutions" section? It's like connecting the icons, and when you hover over an icon, it shows its color.

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

    What plug-in do you use for writing divs with classes really fast?

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

      It’s a Vsc extension

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

      It's called Emmet, it's built into VS Code, and you can get an extension for other browsers.

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

    Ok i tried to implement this in a react app im working on but the canvas is super blocky and is literally 32x32 pixels. how do you get it to not do that? Neither the original codepen or this vid have it so blocky

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

      if anyone runs into this, the solution was setting image-rendering: auto

  • @User-w8t4t
    @User-w8t4t 2 года назад

    Using glsl for the linear color is better😂