Using Ligatures
3:41
2 жыл бұрын
Pairing Type
3:11
2 жыл бұрын
How and when to control line height
3:34
Choosing a typeface for body text
2:47
Пікірлер
@yocraftgg5866
@yocraftgg5866 15 сағат бұрын
event.preventDefault() dosn't work
@RicardoAlonso_Art
@RicardoAlonso_Art 4 күн бұрын
i get some compiling errors, maybe the version has updated a bit
@jhlagado1
@jhlagado1 12 күн бұрын
absolutely fantastic stuff. i've just spent a week working exactly this. i should have come here first! great solution. thanks!
@TheirSavior
@TheirSavior 15 күн бұрын
Explained well and answered the questions before I could ask. You rule!
@insightvideos8
@insightvideos8 Ай бұрын
Awesome tutorial!
@klemenivanusic
@klemenivanusic Ай бұрын
const svg = document.querySelector('svg.squiggle'); const path = svg.querySelector('path'); // Get the total length of the path const pathLength = path.getTotalLength(); // Initialize the path to be hidden path.style.strokeDasharray = `${pathLength}`; path.style.strokeDashoffset = `${pathLength}`; const scroll = () => { const distance = window.scrollY; const totalDistance = document.body.clientHeight - window.innerHeight; const percentage = distance / totalDistance; // Animate the strokeDashoffset to reveal the path path.style.strokeDashoffset = `${pathLength * (1 - percentage)}`; }; // Run the scroll function on page load to set initial values scroll(); // Add the scroll event listener window.addEventListener('scroll', scroll); This is the better version of the code. Try it. Path basically starts from 0 when page is loaded and it is not drawn yet, and when you reach the bottom of the page, the path reaches it's 100% length. It works even if you set it's boundaries to a specific container, just set the environment for the path in the totalDistance variable
@thomas76ch
@thomas76ch 10 күн бұрын
Thanks, with you svg works really well. I try it only with a straight line. It is not as smooth as on your example... and the result is reverse! Is there any info how to solve this issue?
@sheersha
@sheersha Ай бұрын
Anyway to add this effect to youtube header?
@VictorGurov-o9o
@VictorGurov-o9o Ай бұрын
A great tutorial, thank you! And of course: "Cube!" :)
@everydayslang-645
@everydayslang-645 2 ай бұрын
Really great. Easy to follow. Works like a charm... but what if you wanted more than one video like this on a page?
@stevevoltmer2964
@stevevoltmer2964 2 ай бұрын
What about responsiveness? If you have content on the page and resize the window the SVG resizes, but not the content. You end up with the path moving over important content.
@thailonlucasart
@thailonlucasart 2 ай бұрын
I discovered your videos today! They are amazing!!!
@stevevoltmer2964
@stevevoltmer2964 2 ай бұрын
How would you do this using the intersectionObserver API instead of scroll?
@monicaalyssa7195
@monicaalyssa7195 2 ай бұрын
Thank you! This was super helpful!!!!
@AmieDesign_2022
@AmieDesign_2022 2 ай бұрын
Thanks for the video, would love to know what font is it at the beginning of the video, thx!!
@ganeshbhandarkar6074
@ganeshbhandarkar6074 3 ай бұрын
where to download superhi editor
@PlantitaLabs
@PlantitaLabs 3 ай бұрын
Thanks so much! Had been procrastinating adding on-scroll animations to my html/css website because I thought it would take longer to learn, but you made this sooo simple for me to learn and implement! ty ty
@EARTH38221
@EARTH38221 3 ай бұрын
how to create that slider
@EARTH38221
@EARTH38221 3 ай бұрын
got it input type="range" css input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient( needed colors ); }
@yingyho4
@yingyho4 3 ай бұрын
How can we add a toggle button for users to switch between light and dark modes manually, instead of relying on their system preferences?
@TakashiHirakawa-v4x
@TakashiHirakawa-v4x 3 ай бұрын
What are the reasons that you use <a> tag for the handle?
@maazahsan1800
@maazahsan1800 3 ай бұрын
Cna anyone work on the section look like video effect section in lusion website?
@Jake-dq2xw
@Jake-dq2xw 3 ай бұрын
This was fantastic thanks!
@i1r9e9n7e
@i1r9e9n7e 3 ай бұрын
Hi! Thanks for the tutorial but I'm having some issues when it comes to upload images on the web editor. I think it's not working propertly uploading documents :S
@i1r9e9n7e
@i1r9e9n7e 3 ай бұрын
And also window.pageYOffset it's deprecated now :S
@SteveHart282
@SteveHart282 3 ай бұрын
How do you achieve the gradient they have on Lusion using an SVG? Great video!
@mig8447
@mig8447 4 ай бұрын
What about multi-panel resizing (3 or more)
@JosephM1M5A4
@JosephM1M5A4 4 ай бұрын
Thank you!
@Goeinavund
@Goeinavund 4 ай бұрын
Such an underated channel you deserve way more subscribers, I will always love the way you explain these complex matter into easy to understand concepts. keep doing what ur doing its awesome!
@jmg9509
@jmg9509 4 ай бұрын
I wish you would’ve shown if it was responsive...
@ShrutikaSh
@ShrutikaSh 4 ай бұрын
i tried, this i works, love it, but how to make it smoot, the video playing is kind of choppy :(
@aminemajdi1248
@aminemajdi1248 4 ай бұрын
Thank you very much
@CoderDalower
@CoderDalower 4 ай бұрын
Very helpful video. Thanks a lot
@clangsison
@clangsison 4 ай бұрын
learned a lot from this tutorial, thank you!
@gilsonconceicao5201
@gilsonconceicao5201 5 ай бұрын
Very nice. Thanks
@jv-wd4po
@jv-wd4po 5 ай бұрын
hey so i have an issue when there is a border-radius applied on the shapes. They appear huge on the site. Do you know any fix for this?
@Pywyoyuyp
@Pywyoyuyp 5 ай бұрын
Thank you so much, I really enjoyed this tutorial. But I have a problem and that is when I scroll to the bottom of the page , when the line finishes drawing itself, it disappears. When I scroll a little up, it is again there, scrolling itself backways as it should. but i don't want it to disappear from my view. How to fix this?
@jesperandreassen120
@jesperandreassen120 5 ай бұрын
Great video! How would you go about having the animation "bounce" the end of the stroke when the user stops scrolling?
@yashgaurav8499
@yashgaurav8499 5 ай бұрын
cube🧊
@cats_in_disguise
@cats_in_disguise 5 ай бұрын
cube!
@playinhertz
@playinhertz 6 ай бұрын
Your portfolio is really amazing. Can you make a video on how you made it . Pls much requested
@riteshkc814
@riteshkc814 6 ай бұрын
thanks been scratching my head for hours to implement a design 🥴🥴
@安田胡桃
@安田胡桃 6 ай бұрын
Thank you so much!!! This help a lot
@Strix_sqli
@Strix_sqli 6 ай бұрын
i dont think they did it with svg on their website
6 ай бұрын
Nice video, however it does not look good on mobile viewport
@SarahSCampos
@SarahSCampos 6 ай бұрын
Thank you so much, that was exactly what I needed!
@MrAbbo11
@MrAbbo11 7 ай бұрын
you are an excellent teacher and clearly a very smart man as you distill things in a way that is easily accessible. Thank you!
@mikefrancis9424
@mikefrancis9424 7 ай бұрын
This was awesome - thank you! I had a lot of fun repurposing this for a remix app!
@RatedPR
@RatedPR 7 ай бұрын
This is amazing, exactly what I was trying to learn to do, really good explanations too, will subscribe
@asifreza23
@asifreza23 7 ай бұрын
Thank you so so so so so so so so so so so so so so so much!!!!
@sadohkoo
@sadohkoo 7 ай бұрын
Super helpful video, thanks!
@jennyvan2409
@jennyvan2409 7 ай бұрын
this is amazing, there are not alot of videos on youtube that covers creative coding ideas as like urs so thank you sm for this!! can i ask if i wanted to replace the panels by purely images in divs that can be draggable, resize and stackable, is it possible to approach this idea in reference to your video? thanks in advance:)
@MillerThriller
@MillerThriller 8 ай бұрын
Can this be replicated into wix studio? I’ve been trying to figure this out forever! Any help is greatly appreciated and compensated if needed.