the gradient doesn't work in firefox at all - seems like you should first put the gradient value in root as fallback and put houdini property after root
@SvenThielen
Жыл бұрын
I found a neat trick to get another type of animation to work in firefox by pasting the code below just after the one described in the video: @-moz-document url-prefix() { .card::before, .card::after { background: linear-gradient( 45deg, var(--clr-5), var(--clr-4), var(--clr-6), var(--clr-7), var(--clr-5), var(--clr-4), var(--clr-6), var(--clr-7)); background-size: 450% 100%; animation: ffspin 3s linear infinite; } } @keyframes ffspin { 0% { background-position:0%; } 100% { background-position:96%; } } Colors I used: --clr-4: #2d8f85; --clr-5: #38CFD9; --clr-6: #637c54; --clr-7: #4e00c2;
@luischiesa4568
Жыл бұрын
Hey man! I’m new coding and I’m not the best English speaker/reader could you help me to fix this problem with the Firefox I put that and still not working
@NiltonOliv
9 ай бұрын
Thanks friend, you are a genius, before it didn't work on Chrome and also on Firefox. You saved me, very beautiful effect.
@neonart_
Жыл бұрын
I am learning a lot through your video thankuu
@Ramnathk
Жыл бұрын
Thanks Kevin for these fun tutorials. One question I have however is that with majority of traffic coming from mobile devices how can we translate some of these effects to touch based (micro)interactions?
@borstenpinsel
Жыл бұрын
Thanks, maybe this helps. I've seen a codepen of this but it didn't work in my html file for some reason. Didn't even move
@geforcesong
Жыл бұрын
That's smart solution! however, However, is there a solution that works across all modern browsers? Tried the link, doesn't work on safari, the border doesn't show at all, let alone the animation
@ernststa
Жыл бұрын
Does not work with Firefox unfortunately, unless you remove the property from the gradient
@khaledsalah9248
Жыл бұрын
that's exactly the problem I ran into, it's so sad.
@issy63ls
Жыл бұрын
Same here, i'm stuck on same problem.. how did you fix it?
@khaledsalah9248
Жыл бұрын
@@issy63ls I think there are 2 fixes, first is to write browser specific code second is to use javascript for the rotating effect of the gradient.
@twoplustwoequals5733
Жыл бұрын
does "place-items" not have suggestion "center" for you guys too in VS Code?
@alice-smith
Жыл бұрын
It is possible to fallback to animate the gradient with javascript when @property is not supported?
@KevinPowell
Жыл бұрын
There might even be a polyfill, I haven't looked into it though
@CMB696
Жыл бұрын
I did something similar this a weak ago but it is a big headache 'cause .outer-card > . gradient-border > .main-card and for .outer-card:before for blur aah . And I saw that post few days ago and i thought that i can't , and u did it just with a .card 🤯 it's big brain time;
@PicSta
Жыл бұрын
Hey Kevin, great video. Why aren't you going with the unit dvh instead of vh. Just to keep it right and think at the mobiles devices out there. Apart from that, all good as usual.
@TechBarAmaBaro4810
Жыл бұрын
In mob&desk app development, of course we need to design the content (background-colors, colors, positions, etc.), So will I need css
@padeiroPorAmor
Жыл бұрын
once i resolved this making exact the same, but without that property. instead a got 2 div one smaller than the other and the bigger rotating, filled with the colors
@Disorrder
Жыл бұрын
But you still can animate your css var with js
@okosmik
Жыл бұрын
You have made CSS truly fun and understandable, thanks.
@SCHTRAM
Жыл бұрын
Also made me want to get back into working as a programmer, but only in UI/Css stuff =D
@okosmik
Жыл бұрын
@@SCHTRAM To dare is to do 😄, just do it, fr.
@jamesmcgee1912
Жыл бұрын
Do all major evergreen browsers support this houdini feature?
@wentallout
Жыл бұрын
this is one of those "you like it, but it's bad UX so nevermind"
@markovujanic
Жыл бұрын
Kevin, This is such a nice format for tutorial. You clearly explained step by step how this works. Thank you
@RaymondHulha
Жыл бұрын
This might just be my favorite CSS Video of all time
@8koi245
Жыл бұрын
I was working with some after & before but the inset wasn't working and had to do width 100% & top 0 bottom 0, any idea? using beta chrome on Linux
@KevinPowell
Жыл бұрын
was it position relative, and not absolute? Only thing I can think of.
@io1921
11 ай бұрын
any solution to this ?
@amirrezazada7491
Жыл бұрын
Sir, I have learnt javascript but the problem is, I don't know where to add javascript on my projects. Please help
@blueprint7000
Жыл бұрын
Trully Amazing . I love you !
@VasilyPavlik
Жыл бұрын
Brilliant!!! But Hoodiny is "under construction" for the last 5 years as I remember, or even more. But anyway, it will work without animation. Very good example of graceful degradation. Thank you!
@NeoMatrix1990
Жыл бұрын
I just went down the rotating gradient rabbit hole like a month ago. When I saw your title and thumbnail, I was scared you were going to show something I missed 😅. But I got to the angle property point and decided to go in a different direction because of browser support. Keep up the good work! Watching your videos has reignited my interest in front-end developement.
@mikemaccana
Жыл бұрын
You don’t tell us but is the gradient angle not normally animatable?
@mebamme
Жыл бұрын
I think even in a square box the gradient rotation would have looked slightly off - to have a constant apparent speed along the outline, you'd probably need a circle.
@Tom-og3fr
Жыл бұрын
Good job Kevin. But could you do it with transparent (card) background? 🤔I bet it would look awesome in glassmorphism, but I was not able to figure it out. EDIT: Never mind, YT just redirected me to your other vieo, where you made glowing border with SVG, so it can be done that way. Its funny, you answered my question, even before I managed to ask it :D
@Jakiita1
Жыл бұрын
Which video is this if you dont mind me asking? Im looking for the exact same thing :O
@Tom-og3fr
Жыл бұрын
@@Jakiita1 its this one kzitem.info/news/bejne/x5mkqnaGbJ1kdXo
@penguinxed
Жыл бұрын
very cool! Hi sir Kevin, I wonder if you are planning to release another chatgpt content especially after the gpt4 announcement? cheers! 😊
@angryjellyfish5347
Жыл бұрын
Thank you!!! saw something like this a couple of days ago and was going message you to see if you could do a video on it :)
@fabian3411
2 ай бұрын
Great Video! I tried in my project and I find this solution works really well for me, there’s one weird thing though: whenever I use any kind of transform: translate property on the div that has the pseudo elements, the inset one them breaks and the pseudo elements appear in front of the div again, though strangely any text stays visible. The fix I came up with is wrapping the div inside another wrapper, so I don’t have to use any translate properties (I have to use them) on the element itself but only on its wrapper. Is there an explanation to this seemingly strange behavior?
@kuhsea
9 ай бұрын
Is there anyway of making the border longer just soley verticly as it doesnt span all my text ;-;
@Pak6tani
17 күн бұрын
Sir you are the best powerful teacher but I know only Urdu Hindi
@Ali.AlMamory
Жыл бұрын
I barely know your channel and already benefiting from your videos... I copied your Cool 3d card that follows the mouse movement using JavaScript as part of my training abd learned so much advanced css coding and tricks Just want to say thank you for your enormous efforts and knowledge that ur sharing with us (beginners&students) May allah bless you 😘
@TCLKanxi
2 ай бұрын
Hi, great video, is it possible to have a solid border, only animate on hover? Thank you
@k16e
Жыл бұрын
Mind-blown! Thanks, Kelv!
@alexpanteli3651
Жыл бұрын
Pretty sure this was inspired by new starter template of Next.js
@KevinPowell
Жыл бұрын
Never even looked at it yet!
@AmauryleCour-w5t
7 күн бұрын
Hello, It seems not working with bootstrap 5.
@nomadshiba
Жыл бұрын
wonder if we can use border: solid .5rem transparent didnt try tho, so the space there is actually be a "border" tho there is probably background behind the border so wouldnt work wonder if we can make the background start after the border-box
@KevinPowell
Жыл бұрын
Oh, that's a good suggestion! Sadly, what happens is the background of the element actually gets drawn under the border. There are ways around that with `background-clip`, but then you lose the border-radius. I think the best solution is probably a --padding custom property on the parent, and use that for the inset value.
@nomadshiba
Жыл бұрын
@@KevinPowell padding with background-clip works great
@junsu-ho
Жыл бұрын
more effects and cool animations, please
@coreygriffin
26 күн бұрын
Great video, learned a ton - thank you!
@amircahyadi9219
Жыл бұрын
Thanx you sir 👍
@ThomasGodart
Жыл бұрын
Ok, I'm baffled. That's really good work!
@codershoh
Жыл бұрын
You are the best. Good luck ❤
@sazer2411
7 ай бұрын
can we make this only while hovering if yes can any one tell me how
@vojtechkochta6436
Жыл бұрын
Hi, im using Styled components and i cant find solution for this part @property --rotate { syntax: ""; initial-value: 132deg; inherits: false; } @keyframes spin { 0% { --rotate: 0deg; } 100% { --rotate: 360deg; } } I also asked chatGPT V4 without positive result :/ Does any1 knows please?
@cristianferreira3350
Жыл бұрын
Súper !! More videos like this please!! Thankyou!
@prathamesh9990
Жыл бұрын
Hi sir i have a request for you. There are many people like me who are not native english speakers. It is difficult to understand when you speak fast. If you could speak slower then we can have better understanding
@KevinPowell
Жыл бұрын
This is me talking slower 😂. I really do try. You could show the video down a bit in the video settings
@naczelnypsycholog6296
Жыл бұрын
@@KevinPowell don't do it Kevin, you don't speak fast at all.
@prathamesh9990
Жыл бұрын
@@naczelnypsycholog6296 not everyone understand same accent
@naczelnypsycholog6296
Жыл бұрын
@@prathamesh9990 level up bro, instead of bringing down others ;)
@scottmccauley7555
7 ай бұрын
OK, now here's the question: add any `animation` to the .card and explain why it breaks...
@KevinPowell
7 ай бұрын
If you're animating, I'm guessing it's a transform? In that case, it's making a new stacking context, so the z-index: -1; on the pseudo-elements no longer goes behind the element.
@josephnwachukwu5775
2 ай бұрын
do you think its possible to do this on an input element
@ember2081
Жыл бұрын
Is it necessary to use both ::before and ::after?
@naczelnypsycholog6296
Жыл бұрын
one is blur that give effect of light/shadow and the other is moving solid colors
@SvenThielen
Жыл бұрын
Why is Firefox so far behind on support of these cool features? Can only get it to work with a fallback color. The property does not work and animation neither.
@moosegoose1282
Жыл бұрын
great vid, but do you think Lottie animation would have done better here ? if we had 100 of these, i think it'd be better to switch to lottie rather than rendering css
@howdyhowdyhowdyhowdyhowdy
Жыл бұрын
thanks Kevin, always great
@tzisorey
Жыл бұрын
Now you just need a script to make the gradient follow the direction that the mouse pointer is, and adjust the brightness based on the distance...
@mangelozzi
Жыл бұрын
Since when did the body start to stretch to the full height of the viewport? It used to be that the html was the full height, and the body was only only as tall as required
@Alexandra-Rex
Жыл бұрын
I've had something like this, trying to make the center transparent, or to actually have a semi transparent background. Like an RGB animation around a somewhat transparent "screen" where text can be. I've been trying to use it as an alert overlay for streams. Is it ok to play around with your way of doing it to see how it turns out for what I want?
@colbycrawford7586
Жыл бұрын
Having trouble getting the gradient to render after swapping out the discrete degree value with the @property value. Anyone know why this may be?
@rubelhossain8517
Жыл бұрын
amazing content
@NamanGoel34
Жыл бұрын
I think masking might create a more performant version of this. I’ll post a link if I figure it out.
@kylevandeusen
Жыл бұрын
Totally gonna use this idea!
@akukral
Жыл бұрын
Great video! Would love to see more tutorials and/or examples of practical, forward progressive applications of @property.
@TheTrentmoller
Жыл бұрын
So great ! How to make it animated only when appear in the screen.
@naczelnypsycholog6296
Жыл бұрын
nice I just think that colors pick is not optimal for that kind of effect
@a_basic_sheep_1993
9 ай бұрын
whos the best ha, whos the best - ps. stewie
@Jay-qu7rf
Жыл бұрын
Wow! Super Awesome!
@sohaumghosh9283
Жыл бұрын
When I'm adding inset: -.5rem and z-index: -1, im loosing the glow effect and an opaque box is coming, can anyone help me out with that?
@io1921
11 ай бұрын
any solution?
@0xdeadbabe240
10 ай бұрын
what i found as a solution is that the background-color of the container of .card should have an alpha component closer to zero. this solved it for me.
@troubleshot_
Жыл бұрын
I like these shorter style video's where you don't type, but paste! Good job 👍
@luischiesa4568
Жыл бұрын
Could someone help me? I want to put this code at Firefox
@KevinPowell
Жыл бұрын
For now, no way, it's not supported as I did it here.
@questionmark9683
Жыл бұрын
Whenever i watch your video i literally think that why are your videos soo much related to the my problem you are video are very good and the knowledge you provide is literally the nest level thankyou you for providing the knowledge by the way i am from Indian and know ..
@pdxpro7409
2 ай бұрын
its good but its so complex
@mellowmarvin
Жыл бұрын
I love your videos in which you sometimes mistype and ponder. I would like to see more of them again. But maybe that's because I don't belong to the TikTok generation and like to watch you make mistakes. In any case, keep going somehow! Your videos are perfect! A big thank you to you!
@danlazer741
Жыл бұрын
Because of you I dont hate front end as much.
@bedtimehorrorstoryyoutube
10 ай бұрын
As always really helpfull :) I will use it in my projects thanks to you!
@shayanzamani9907
Жыл бұрын
Thanks for your content. BTW, is there any way to have a box with animated, gradient border color when the box itself is half-transparent or maybe a glassmorphism effect ?
@Lucas-li2zc
Жыл бұрын
Hi, very cool video ! I don't know why when I put a hover transform on the card by following your steps, the pseudoelements go over my card an hide it... I've tried to play with the z-index of the parent but it don't seems to work neither. If someone has any solutions 👌
@0xdeadbabe240
10 ай бұрын
what i found as a solution is that the background-color of the container of .card should have an alpha component closer to zero. this solved it for me.
@Double_Double111
Ай бұрын
❤ I love this
@GayaneGasparyan
Жыл бұрын
I just discovered this! Thank you Kevin for making this tutorial! A lot of people were asking for a tutorial, so I would like to put your video inside the pen, if you don't mind
@Mattylarochelle
Жыл бұрын
Hey Kevin, I really appreciate your videos. I'm having a problem at 2:57 the blur function does not create a shadow around the card but instead it stays contained within the card... Any ideas why that might be happening?
@appsenence9244
Жыл бұрын
Make sure you plar around with the numbers of the size of your container and the blur effect. It doesn't quite work as you would expect it to.
@iamgld
6 ай бұрын
Kevinn, I loved this video friend! 🤩
@lillenk125
Жыл бұрын
Noice
@Human_Evolution-
Жыл бұрын
I used Bing AI to summarize Houdini CSS. Soon you will be summarized too. I should have pasted your transcript. There will likely be an app to turn any video into a AI KZitem Short.
@paulm.7967
Жыл бұрын
Kevin, STOPPP.. I was literally looking at Codepens of this! Go to the restroom and see the notification for this video.. SMH spy on cooler people man 😂
@NerdyDumbProductions
7 ай бұрын
This is so freaking COOL!
@sandalivimansa8758
Жыл бұрын
thank you sooo much kevin
@sealuke2724
Жыл бұрын
you are always awesome for CSS!!!!!!
@wavyboyjodii
Жыл бұрын
Thank You🔥🔥🔥
@ericdimarzio5756
Жыл бұрын
Thank you! Great video!
@samarthm4582
6 ай бұрын
Amazinggggg
@grapy83
Жыл бұрын
That was so fun.
@Sammysapphira
6 ай бұрын
What a gorgeous effect
@mayurapathak1654
Жыл бұрын
Thankyou
@vladropotica5687
Жыл бұрын
Thank you for your videos, i started learning code half a year ago and many of your videos taught me alot
@KevinPowell
Жыл бұрын
Thank you so much!
@mykalimba
Жыл бұрын
It would be nice to speak to how much CPU (GPU?) it takes for modern browsers to manage some of these more advanced rendering features (blur filter, gradients). The last thing we need are uninformed web developers overusing techniques like these without awareness of how it can impact UX for those viewing websites overloaded with "features" like this. I've visited websites where a simple full screen background blur filter causes my laptop fan to spin up like crazy.
@EdwinArias-m2t
Жыл бұрын
Beautiful!
@neonart_
Жыл бұрын
Present sir
@nivlekio
Жыл бұрын
How many 3's do you know? 1) 0, 1, 2 2) 1, 2, 3 3) X, Y, Z 4) Red, Green, Blue 5) Red, Yellow, Blue 6) Left, Center, Right 7) Forward, Center, Back 8) Up, Center, Down 9) Dot, Line, Dot = Line 10) Dot, Dot, Dot = Polygon 11) Sun, Earth, Moon 12) Air(Gas/Vapour), Earth(Rock/Soil), Water(Liquid/Solid) = Planet Earth 13) Animals/People of the Air, Animals/People of the Ground, Animals/People of the Water 14) Chariots of the Air/Space, Chariots of the Ground, Chariots of the Water 15) Alpha, Beta, Gamma 16) A, plus, B 17) A, divide, B 18) A, multiple, B 19) A, subtract, B 20) Speed, Distance, Time 21) E, M, C2 22) Force, Mass, Acceleration 23) H, 2, O 24) Light Source, Close Distance, Your Eyes 25) Object1, Object2, Close Distance = Collision/Reflection/Sound/Touch 26) Open Door, Go though the Door, Close the Door 27) Open Car Door, Get In Car, Close Car Door 28) Seconds, Minutes, Hours 29) Days, Months, Years 30) 1st, 2nd, 3rd 31) Gold, Silver, Bronze 32) Grandmother, Mother, Daughter 33) Grandfather, Father, Son 34) Woman, Man, Child 35) In the womb/egg, out of the womb/egg, dead 36) Gay/Lesbian, Straight, Bisexual 37) Nursery School, Primary School, Secondary School 38) The Object is Empty, Fill the Object, Stop Filling the Object(Glass,Tank,Stomach,Bottle etc) 39) Accelerating, Decelerating, Constant 40) Open Lipstick, Put it on, Close Lipstick 41) Lying down, Standing, Moving 42) Left Wing Mirror, Rear View Mirror, Right Wing Mirror 43) God, Angles, Heaven 44) Satan, Demons, Hell 45) God, Adam, Ribcage 46) Adam, Eve, Eden 47) Adam, Eve, Tree of Knowledge 48) Satan, Eve, Tree of Knowledge 49) Judaism, Christianity, Islam 50) Breathe in, Hold breath, Breathe out 51) Close eyes, Stare, Blink 52) Bite, Chew, Swallow 53) Bladder is Empty, Bladder is Full, Start Peeing 54) Intestines are Empty, Intestines are Full, Start Pooping 55) Shoes Off, Shoes On, Shoes Off 56) Sexuality is Empty, Sexuality is Full, Start Sexual Relif 57) Feeling Cold, Okay, Feeling Hot 58) Start, Middle, End 59) Open Schoolbag, Take something out, Close Schoolbag 60) Creation, Infinity, Destruction 61) Minus, Zero, Plus 62) Home, Event(Bowling, Cinema, Park, Party), Home 63) Clear Sky, Partially Cloudy, 100% Cloudy 64) 0%, 50%, 100% 65) Plane On Ground, Plane In Air, Plane on Ground 66) Socks Off, Socks On, Socks Off 67) Heart is beating, Heart has stopped but has been revived, Heart has stopped but cannot be revived 68) Xbox, Playstation, Nintendo 69) Windows, Linux, Mac 70) One Film, Two Films, Three Films 71) One Goal, Two Goals, Three Goals 72) Green Light, Amber Light, Red Light 73) Open Purse, Put something In, Close Purse 74) Touch Key, Press Key, Release Key 75) Home, School, Home 76) Ready, Set, Go 77) 3, 2, 1 = Lift off/New Year/Count down 78) Pick up object, Move object, Put object down 79) Pick up object, Throw object, Object hit ground 80) Hands in water, Hands above water, Hands in water = Front-crawl 81) Head above water, Head in water, Header in water = Breaststroke 82) Hit/Pass/Throw ball, close distance, Hit/Pass/Throw ball = Baseball/Cricket/Hockey/Ice Hockey/Tennis/Rugby 83) Home, Work, Home 84) Bible, Torah, Quran 85) c, c++, c# 86) AMD, .COM, CPU, DVD, GFX, HDD, RAM, ROM, SSD, PSU, WWW. 87) Back-End Developer, Front-End Developer, Full Stack Developer 88) Continents, Islands, Water Bodies 89) Car in Garage, Car out of Garage, Car in Garage 90) Open laptop and turn it on, use laptop, Shutdown laptop and close it 91) Pick up (Crayon, Marker, Paintbrush, Pen, Pencil), move it, Put it down = writing 92) Bad Dream, No Dreams, Good Dream 93) Engaged, Married, Divorced 94) No/short hair, average hair, long hair 95) Jacket on hanger, Jacket on you, Jacket on hanger 96) Hat on surface, Hat on head, Hat on surface 97) Glasses on surface, Glasses on you, Glasses on surface 98) Raw, Cooking, Cooked 99) Out of the Cave, In the Cave, Out of the Cave 100) SSJ1, SSJ2, SSJ3 = DBZ 101) Open drawer, take out/put in, Close drawer 102) It's on, it's off, it's not working = (Car, Mobile Phone, Laptop, TV) 103) It's Awake, it's sleeping/unconscious, it's dead (Animals/People) 104) BMX, Racing Bike, Mountain Bike 105) Allah, God, Yahweh 106) Uranus, Cronus, Zeus 107) Gaia, Rhea, Hera 108) Crassus, Julius Caesar, Pompey 109) Africa, Europe, Asia 110) HTML, CSS, Javascript
@palantonio8764
Жыл бұрын
for rotating, why did you use houdini instead of just plain ol' rotate: ;
@palantonio8764
Жыл бұрын
nevermind, i might have misunerstood the assignment
@KevinPowell
Жыл бұрын
I looked at what happened at around 3:10 if you tried a rotate, the entire element is rotating around. We need to animate either the angle itself inside the gradient (or you could animate the colors), and to do that we need to use houdini... unless I missed something obvious :D
@palantonio8764
Жыл бұрын
@@KevinPowell yeah, i misunerstood what you wanted to rotate. Love your videos!
@FdWebdesign
Жыл бұрын
You're doing great!
@KevinPowell
Жыл бұрын
Thank you!
@bradenborman4396
Жыл бұрын
We need a collab with you and @hyperplexed
@JNET_Reloaded
Жыл бұрын
it dont look anything like what u demoed to start with i got a codepen about cards!
@KevinPowell
Жыл бұрын
What doesn't look the same? My Codepen goes to my finished code, and I think it's closer to the initial one, just with different colors and a slower animation 🤔
Пікірлер: 133