Комментарии:
Want more? Subscribe up already! Sheesh!
ОтветитьAwesome❤
ОтветитьI wanted to set a css variable to keyframes snd animate it but it didn't work .. i guess i'll make a for loop with setTimeout every 10ms to set the css variable
ОтветитьMake it work with pointer events.
Ответитьthanks i am searching for this and when i see i feel so good thanks sir very much
Ответитьso the whole purpose of this video is that you can use js to change js or use your brain?
ОтветитьWhy sass? It says css in topic.
ОтветитьHello i was watching this video an i am trying to change the gradient's parameter dynamically fron circle to linear or viseversa using a select button my question is how can i change this part of the code in css from angular ? there is a way to create css variable from angular components? greettings.
ОтветитьThis just helped me a ton. Thanks!
ОтветитьI really like this guy. He only features content that were me might encounter soon that's really important. Sir. Hope you will cover in your content about image dispersion. Having trouble in html2canvas
ОтветитьWouldn't it be much easier to call the css file style.css.php and handle all variables with php ? It even can handle styles from a database that way (you can set in the html file <link rel="stylesheet" href="css/style.css.php"> and since the php interpreter is obsessed it first will compile and then spit out the css)
ОтветитьWill it work in IE browser
ОтветитьYou can use document.body to get body instead of querySelector
ОтветитьVery useful thanks.
Ответитьnice and concise tutorial. Thanks man!
ОтветитьMy onclick function is not working. The red box just stays the same red box. Do you have any insight on that?
ОтветитьMegaLike! tnks!
ОтветитьAwesome video!
ОтветитьAwesome!
ОтветитьLove to hear of appropriate use cases for these and also issue with accessibility and across browsers.
Ответитьno
Ответитьthis one is an example of a badass technique, thanks for sharing. Saludos from Bolivia
ОтветитьReally cool stuff
ОтветитьCool
Ответитьhi simon! sometimes you should play guitars for us
Ответитьgreat video, thanks!
ОтветитьOh man, thank you this is very useful.
I needed this the other day because scss variables cascade, which in some cases is not what you want, and I wanted to do something like... calc(100% - 40px) on a div for an image and then set the div height based on the aspect ratio of the image, but the variable cascades so I couldn't do it in pure css.
On the video is it possible to update x and y on .card with the pointer events enabled?
That's actually very helpful! Instead of changing the whole background css property, we can just change the variables :O
ОтветитьInstead of disabling the pointer-events for the child-elements in css, how about referencing the correct element in the code? `e.currentTarget`
ОтветитьWhy am I doing this instead of composing the gradient function directly from javascript? I know it makes it simpler somehow, but you can make a function in js to compose it too...
ОтветитьAwesome didn't know this is possible to pass dynamic value to css. Nice video broo thank you for sharing this 😁👍
ОтветитьReally loving the new background.
ОтветитьYou rocked design course ❤
Ответитьthank you!
ОтветитьSimple and Concise, close to the content and not other bs.
+1
Awesome!!!
Ответитьgive default value —y:0px; —x:0px;
ОтветитьThat's AWESOME. 😍
Good Job Gary. 👌
I love how your camera looks like when I put too much padding on my centered element
Ответитьblow mind :o
ОтветитьMy problem with the code not working was using single quotes instead of backticks for the ${ ... }px expressions -- I missed that when initially going through the code. This was the first time I've ever heard of using backticks in JavaScript and the first time I've heard of Template literals (string literals allowing embedded expressions) with which they are used. Hope this is useful to some.
ОтветитьAny idea how to make it work with pointer events on? cause this looks like cool ide for some CTA elements end so on, but without pointer events thats wont do mutch. thanx
Ответитьi cant understand people who click on dislike button
ОтветитьSo cool, man!
ОтветитьThat's one helluva lesson there Gary. :) <3
Ответить