Тёмный

3D text animations with CSS 

Kevin Powell
Подписаться 943 тыс.
Просмотров 49 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@ayviuon
@ayviuon 2 года назад
bruh i'm struggling to center a div and this guy is making an entire pixar movie with css..
@ayviuon
@ayviuon 2 года назад
@pilanceboil this guy knows alot of math so yeah he probably doesn't have a soul anymore
@ushruff
@ushruff 2 года назад
Amit is an absolute wizard. Love him
@pranjaldugargo
@pranjaldugargo 2 года назад
I think we can also use backdrop-filter: blur() to get a better depth effect.
@IAmLesleh
@IAmLesleh 2 года назад
*cries in Firefox*
@vineboomsoundeffect5395
@vineboomsoundeffect5395 2 года назад
@@IAmLesleh although no one asked, the backdrop-filter css property is by default disabled in firefox 70. You can set *layout.css.backdrop-filter.enabled* and *gfx.webrender.all* to *true* in the *preferences* menu. I hope that helps!
@skmgaming3124
@skmgaming3124 2 года назад
@@vineboomsoundeffect5395 You can use the @supports query to see if the browser supports it, it works sort of like a media query if you weren't aware. So you can use the backdrop filter inside of the supports, and then in the normal div you can use an alternative or that.
@Morrile1
@Morrile1 2 года назад
Amit lives in the super level of design code, outstanding is the only word I can think of.
@AbdicateDotNet
@AbdicateDotNet 2 года назад
Beyond great stuff!! Thanks so much for inviting Amit! 👏👏👏
@joedoe9958
@joedoe9958 2 года назад
Love this series where you ask questions and we learn with you!
@inklingboi8431
@inklingboi8431 2 года назад
That was absolutedly mind-blowing!
@DanielMera80
@DanielMera80 2 года назад
Thanks for this great tutorial, I used this effect with a world turning and added the backface-visibility: hidden; property to hide the back part of the text to give the illusion that it is going behind the world.
@tomasvidal424
@tomasvidal424 2 года назад
this just changed how i think of css animations 🤯, Amazing!
@cscs6587
@cscs6587 2 года назад
Amit is The Real King of CSS
@MrDatingel
@MrDatingel 2 года назад
This is just amazing... Iam baffled. Working with CSS every day at work, but never touched the 3d CSS parts. Amazing what is possible over there. Whole new world xD
@someshharshvardhan2419
@someshharshvardhan2419 2 года назад
Great stuff Kevin !!!! Loved it , please keep these sort of videos coming ! Would absolute love to get deep into the CSS 3d world with such video !
@jgm113
@jgm113 2 года назад
At 3:32- Yeets JS panel "we don't have nothing here" what a badass.
2 года назад
Thrilling and epic stuff, this whole defining variables in loops is a killer!
@remkospaans
@remkospaans 2 года назад
I've been thinking about making an old-fashioned clock radio in CSS for a while now. After seeing this I really think it is possible. Now to find the time to build it 😉 (🙏🏻🙏🏻🙏🏻🙏🏻❤️📼)
@sungjuyea4627
@sungjuyea4627 2 года назад
I thought this kind of work could never be done without JS like Three.js... This is awesome!
@natalieeuley1734
@natalieeuley1734 Год назад
I love their t-shirts
@pavankalyanmahanty8453
@pavankalyanmahanty8453 2 года назад
That's an next level 🔥🔥🔥 TNX for sharing 🙂
@BillyPaulwins
@BillyPaulwins 2 года назад
When you are way too obsessed with css animation and 3d stuff
@cesarqp
@cesarqp 2 года назад
Great video! And thanks for showing the CSS result from the SASS loop, those little details are gold!
@alistaw1866
@alistaw1866 2 года назад
I think amit is the real king of css.
@mirazh8216
@mirazh8216 Год назад
mouse-watering and jaw-dropping!!!
@mahadevovnl
@mahadevovnl 2 года назад
Man, it's so freaking cool and quite easy to do, but I'd love to see it combined with JavaScript to calculate things so that you don't have to trial-and-error the pixel values. Have a React component for the spinning text, provide your text and width and height, let the component calculate what you need, let the component generate the HTML elements and provide them each with their CSS variables. Make things easily reusable. This in its entirety feels, because it's CSS, hardly like something you'd want to use because (let's be honest) many people are scared of CSS and it doesn't follow a syntax of what we're used to with programming languages. Take it to the next level? ;)
@ministryofanti-feminism1493
@ministryofanti-feminism1493 2 года назад
That t-shirt - 'API By Day; IPA By Night - is brilliant. You really must copyright that!
@maschaw7844
@maschaw7844 2 года назад
Nice to see it. I have made, before this video, a carrousel with pictures with links to other pages on my website. And thanks to the video with the bouncing ball (thank you Amit) I have the floor underneath the carrousel (fixed, not rotating).
@PressmenTimes
@PressmenTimes Год назад
salute sir, your tutorial is amazing
@ayazaslam1362
@ayazaslam1362 2 года назад
Mind blown for sure I will try it. Who dislike it? And why
@TheXen4u
@TheXen4u 2 года назад
That's so awesome! Thank so much for your work, Kevin! It's great. Greetings from germany!
@blokche_dev
@blokche_dev 2 года назад
This is so damn cool!
@christianferrario
@christianferrario 2 года назад
Best t-shirt I've ever seen
@tenc6491
@tenc6491 2 года назад
This was extremely impressive!
@notmyname327
@notmyname327 2 года назад
This is so cool
@zzpluto1678
@zzpluto1678 2 года назад
Hi Kevin, I just wanted to say thank you! you helped me to fall deeeplyy in ove with webdesign! :)) it works!
@pranjalroy6396
@pranjalroy6396 2 года назад
This was possible???? Mind = blown
@markusbeyer9524
@markusbeyer9524 2 года назад
Genius. But he should change his dummy text to "Lorem ipsum dolor sit amit" More on brand :D
@alanthomasgramont
@alanthomasgramont 2 года назад
There is a certain point where using the right tool for the right job is just better. If you use three.js, you not only get 3D, but you get a lot of control with lighting, texturing, animation and interaction. And it doesn't take wizard skills to do it. But this is cool to see what is possible.
@rossclutterbuck1060
@rossclutterbuck1060 Год назад
you're advocating shipping hundreds of KB of JS library and JS code instead of 50 lines of CSS? lol OK Three.js is clearly not the correct tool for something like this.
@alanthomasgramont
@alanthomasgramont Год назад
@@rossclutterbuck1060 Yep. When you’re paying a developer $150/hr or an animator $40/hr, you ship the hundreds of kb extra
@stephenbrown2979
@stephenbrown2979 2 года назад
Excellent video, and I learned so much from it. Thank you for sharing.
@kalahari8295
@kalahari8295 2 года назад
More Mr. Kevin! You said you'd do more 3d 🤧 in the first one
@benja-min1588
@benja-min1588 2 года назад
Well, I thought I knew css...very humbled
@uberdrivebye5582
@uberdrivebye5582 2 года назад
IPA's at night...🤣🍻🤣|| Great video!
@khale-d
@khale-d 2 года назад
I love this man
@briankgarland
@briankgarland 2 года назад
Wow. Just....wow.
@aprimic
@aprimic 2 года назад
Should have done box sizing border box
@서청산-n4t
@서청산-n4t 10 месяцев назад
Thanks a lot! It may tavel the space when chage place-items to "place-items: space-around;"
@sashatv138
@sashatv138 2 года назад
Cool!
@PIXYBoy79
@PIXYBoy79 2 года назад
Would love to see you and Chris Coyier do a CSS battle !!
@sujanbasnet7868
@sujanbasnet7868 2 года назад
Amazing stuff.
@ArtyomStouch
@ArtyomStouch 2 года назад
wow!!!
@avi12
@avi12 2 года назад
Now imagine combining such effects with dark mode and other media queries
@martinemanuel8239
@martinemanuel8239 2 года назад
we need more videos like this
@Gleem
@Gleem 2 года назад
Lovely work
@bendhiman4190
@bendhiman4190 2 года назад
Awesome video and really fun to code along with. Does anyone have a simple explanation for how the --left variable is able to spread the letters out like that? Thanks.
@clevermissfox
@clevermissfox 11 месяцев назад
The way I understand it: Since overflow is set to hidden it translates the text negatively to the left. For the first panel it stays where it is, second translates one panels width to the left, third translates two panels widths to the left, fourth three panels widths, etc
@TheLollercaster
@TheLollercaster 2 года назад
I'm not sure where this would be used in real life, but looks cool
@TiffanyNg100
@TiffanyNg100 2 года назад
just like the 3d donut. its flex on how far we can go/push! its feature will be plenty of use later
@MrPrimzi
@MrPrimzi 2 года назад
Too cool :)
@acobster
@acobster 2 года назад
8:57 Since you only have five panels, you don't need the loop to be `0 to 5` (which is actually 6 steps)...you could have gotten away with `0 to 4`. As it stands you're targeting a non-existent nth-child(6) selector. Doesn't really hurt anything, but it's good to be precise and you don't need the extra selector.
@ayazaslam1362
@ayazaslam1362 2 года назад
Ok I was thinking same
@sanmeetsingh4
@sanmeetsingh4 2 года назад
That's awesome 😊
@AbhishekVerma-fe3wo
@AbhishekVerma-fe3wo 2 года назад
I dont know why but putting perspective on body itself doesn't work but after putting on * selector then it worked
@alejandrodinardo4804
@alejandrodinardo4804 2 года назад
Awesome!
@peternicholson26
@peternicholson26 2 года назад
Absolutely superb Collab video again. Keep doing videos together! They're a great watch. I might try and use this with a logo transition I did for a client. I'll be sure to share it on Twitter if I do!
@tanyadejesus2205
@tanyadejesus2205 11 месяцев назад
Thanks for the video, however my animation isn't displaying like that. I have copies the code from codepen and still not working.
@anuranjansrivastav9864
@anuranjansrivastav9864 2 года назад
You guys are great...
@wobbers99
@wobbers99 2 года назад
Superb!
@martinemanuel8239
@martinemanuel8239 2 года назад
Insaaaaneee
@javibcht
@javibcht 2 года назад
AMit really nice content. Hopefuly will see you colaborating with kevin comunity soon! Regards both from Argentina, Bariloche
@gerasim_vol
@gerasim_vol 2 года назад
Crazy
@marcosalpereira
@marcosalpereira 2 года назад
Uau! Amazing!!!
@michaelschone3406
@michaelschone3406 2 года назад
Hello Kevin and Community, very nice Content u give us here to learn and love css! Really appreciate this! Now I do ur conqRespWeb Course its so cool. U do an amazin job and its !!noticable u love css and u share it with us. I start without css and tables I hated div and css, later responsive i hate it.. now i love it! Its a journey. Great Job!
@-_._._-
@-_._._- 2 года назад
when is 3d stuff (like the box and ball) coming to Firefox?
@stephenpetersen3607
@stephenpetersen3607 7 месяцев назад
SASS now I see why.
@KrutikRaut
@KrutikRaut 2 года назад
First Comment 😁 Awesome Content Loved it
@dawatcherz
@dawatcherz 2 года назад
i keep getting an 'undefined variable' error for --left and don't know why.
@skmgaming3124
@skmgaming3124 2 года назад
You need to define it in the :root if you're using css, with sass(scss syntax), it's much easier and better. Works with css too
@AppleGameification
@AppleGameification 2 года назад
Anyone know why the perspective-origin works on the text panels but not on the screen?
@Marcox385
@Marcox385 2 года назад
DAMN
@charleswood8259
@charleswood8259 2 года назад
I'm new to CSS. Where in the code do you place the text String to replace "Lorem ipsum dolor sit amet." It is not in your html code.
@nitsanbh
@nitsanbh 2 года назад
Probably in css, in the “content” property of an pseudo element (a ::before or an ::after)
@ktk3487
@ktk3487 2 года назад
Hello Kevin Powell, I was wondering if you know how to host websites for free or paid. I search and I saw you video "How to host your website for free" but that was posted in Sep 26, 2018. So I was wondering if you could make a new video for 2021 for website hosting websites and maybe some new ones as well. Thankyou for your help :)
2 года назад
It's so frustrating following the instrutions but not finding the right result! Can you please tell me what am I doing wrong? .panel:nth-child(5) { --left: -400px ; This doesn't make any change in the panels position And when I tried to set the position by programming: document.querySelectorAll(".panel").forEach((x,i) => x.style.left = (i* -100) +"px"); I've obtained a "matrioschka" of panels (I don't know why instead of overlapping it shows the borders one inside the other) Can you please tell me what am I doing wrong?
@amit_sheen
@amit_sheen 2 года назад
H Rafa, You're missing the last curly brackets in this line. .panel:nth-child(5) { --left: -400px ; If you have any other problems, please share a link to a CodePen so I can help you.
2 года назад
@@amit_sheen Thank you very much. I didn't: it was a way (A bad way, evidently) of abbreviating)
@theldentity
@theldentity 2 года назад
33:50 lol ok
@sharkinahat
@sharkinahat 2 года назад
Oh, that's simple, you just tessellate the quad and move the verts in the shader... wait, this is CSS... WITCHCRAFT!
@rezarahman1782
@rezarahman1782 2 года назад
Tell me that you guys are Alien. Which planet are you from?!
@eddi3ms
@eddi3ms 2 года назад
just "buum"
@cscs6587
@cscs6587 2 года назад
.panel:nth-child(n)::before { ........}
@xOvernight
@xOvernight 2 года назад
😄
@marcod.643
@marcod.643 2 года назад
Absolutely genius! Amit is on another level. Thanks both of you for this very informative video.
@braveitor
@braveitor 2 года назад
Amazing.... This man is a truly CSS genius. Very kind to share with us.
@jebobo5886
@jebobo5886 2 года назад
Im struggling to make a responsive website and this guy making animation in css
@chadwick499
@chadwick499 2 года назад
Kevin, its okay to blink.
@jannatulnayeem7289
@jannatulnayeem7289 2 года назад
I thought I knew CSS.😥
@webarrays
@webarrays 2 года назад
love you sir #amitsheen
@ore_bear8045
@ore_bear8045 2 года назад
hmm so with some js mouse event and this I can create screensavers ala windows 95, a must do =). thank you
@joepetrillo6185
@joepetrillo6185 2 года назад
How the tf
@khizrshaikh9902
@khizrshaikh9902 2 года назад
EDIT: from one second it becomes second first I want heart
@javedmistari9125
@javedmistari9125 2 года назад
Awesome
@DaJukes
@DaJukes 2 года назад
is it possible to get the code for the stuff you didn't show us how to make?
@MartynKoi
@MartynKoi 2 года назад
Excellent tutorial, thanks guys
@suelingsusu1339
@suelingsusu1339 2 года назад
Wow...🙏🙏🙏🙏🙏🙏👌👌👌👌👌👏👏👏👏👏😵‍💫😵‍💫😵‍💫😵‍💫
@typicalyorkshirebloke
@typicalyorkshirebloke 2 года назад
Love the shirt! Love IPA so much, much better than the typical beer :D
@jgm113
@jgm113 2 года назад
I can't get into it to be honest, I don't see the hype.
@TheScriptingLegend
@TheScriptingLegend 2 года назад
Amazing
Далее
I've been challenged to a CSS Battle!
33:00
Просмотров 204 тыс.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Front-end dev reacts to mind-blowing Codepens
21:25
Просмотров 2,1 млн
Learn flexbox the easy way
34:04
Просмотров 709 тыс.
Three fun uses for  ::before and ::after
12:04
Просмотров 127 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 960 тыс.
Creating a robust grid system using subgrid
36:22
Просмотров 44 тыс.
5 simple tips to making responsive layouts the easy way
15:54