Пікірлер
@johansmith2840
@johansmith2840 7 сағат бұрын
have they fixed touch error in lists
@jenstornell
@jenstornell 7 сағат бұрын
Instead of the attr thing, I use style and a custom variable. It works ok as workaround. But great to finally solve this the right way.
@jenstornell
@jenstornell 8 сағат бұрын
Text box trim should have been default aleady in 1995. Not adding space depending on line height.
@bjornroesbeke
@bjornroesbeke 8 сағат бұрын
This explanation was clearer than the ones i found at Udemy. I will probably mistakenly switch those two terms around, but at least now i understood how it works!
@khodok9636
@khodok9636 8 сағат бұрын
Do you think we should use text-box-trim in CSS resets? It's definitely a common problem that can be countered if needed but you usually don't want.
@pasizdobrekuce
@pasizdobrekuce 9 сағат бұрын
What if border radius and padding are same value?
@yogibarista2818
@yogibarista2818 9 сағат бұрын
FINALLY... the att() spec starting to get some support after years of the features being a sea of red.
@mebamme
@mebamme 10 сағат бұрын
Honestly, my most unexpected takeaway from this is that "leading" is pronounced "ledding". (as in the metal)
@sajon_
@sajon_ 10 сағат бұрын
I am just a couple minutes in, but I was just couple days ago was looking into why stuck is not a pseudo class yet and I read some discussions on why it was not possible or something like that, how is it possible now? Anyway, hopefully these things come to more browsers!
@snake3444
@snake3444 10 сағат бұрын
That text thing is so nice! Don't know if it's just me, but when its about text I sometimes find myself doing so much for just one section to look good. It always feels like text is lagging behind other elements that can be easily and consistently styled with css.
@RomanBorowinski
@RomanBorowinski 10 сағат бұрын
attr() FINALLY ! ! ! !
@ukyo6195
@ukyo6195 11 сағат бұрын
We need more css properties, not.
@Atractiondj
@Atractiondj 11 сағат бұрын
Wait when i can use this in 2030, because safari and mozilla...
@nomadshiba
@nomadshiba 11 сағат бұрын
amazing
@bobross2404
@bobross2404 12 сағат бұрын
i bet in safari this will somehow look differently from other browsers, making this unusable
@SpektralJo
@SpektralJo 12 сағат бұрын
Text box trim is so important. Finally it is possible to consistently center text verticaly
@shaynepreston6055
@shaynepreston6055 12 сағат бұрын
The advanced attr is really exciting but I’m hoping the typing capabilities helps prevent XSS vulnerabilities. Data attributes work basically like inline styles which can allow malicious users to put arbitrary values. Think setting a url in a data attribute. Should always sanitize your content inputs anyways, but just a callout!
@raviel498
@raviel498 12 сағат бұрын
Cool.
@PaulMcCannWebBuilder
@PaulMcCannWebBuilder 12 сағат бұрын
I wish there was a 'pimento' HTML color name just for this demo.
@haythamkenway1561
@haythamkenway1561 12 сағат бұрын
Hey Kevin. how is going. it has been 2 years since I got a job and didn't have time to get in touch with your videos. it's amazing to see you again. your css tutorials was the reason I understand css better. keep going and awesome video as usual.
@ittixen
@ittixen 13 сағат бұрын
Finally! One use I was repeatedly frustrated by, was being unable to use attr() for a url() value. Seeing this game-changer about to arrive at last is so exciting. I just hope Firefox doesn't lag too far behind with supporting this.
@bijan-f
@bijan-f 13 сағат бұрын
attr() sounds amazing for grid layouts <div class="grid" data-cols="4"></div> .grid{ display: grid grid-template-columns: repeat(attr(data-cols), 1fr); };
@esthervandriesten7391
@esthervandriesten7391 13 сағат бұрын
You did such a great job. I am very happy and learning a lot from your videos! Thank you very much, Mr.Kevin Powell.
@0xAndy
@0xAndy 13 сағат бұрын
I don't know, Kevin. I'm just not too excited about these Chrome-only features. Until there's consensus across browsers and we can rely on these features everywhere, the nutritional value of work like this really plummets. That being said, it's cool to see what's out there and to daydream about using features like this at my 9-5. Thanks for the video.
@bijan-f
@bijan-f 13 сағат бұрын
That's a fair take, but Chromium browsers are 70%+ of the market, so in reality it's still useful and you are progressively enhancing the website.
@ukyo6195
@ukyo6195 11 сағат бұрын
@@bijan-fbullshit
@Timelog88
@Timelog88 10 сағат бұрын
@@bijan-f People used that argument for IE6 as well. I think we can all agree that it was a really good thing that changed. Chromium should just support the same standards as other engines, let them diversity in other features than rendering.
@jaiprakashkumar7107
@jaiprakashkumar7107 13 сағат бұрын
One useful tip i found when working with in cmd prompt was that if you want to open a file location in command prompt you just go yo that location and in the heirarchy at the top click the cursor and select all and remove it and type cmd instead and it automatically opens the location in cmd prompt
@ozgurg0
@ozgurg0 13 сағат бұрын
Finally we can detect stuck state without JS. 🎉
@dominotrix
@dominotrix 14 сағат бұрын
So i can do <div data-stock="4"></div> and then create a circle that shows that number via css "content". The question is, can I add conditionals, so if the number is less than 10 the background-color of the circle can be orange and if the data-stock is 0 then the color could be red. If not, then we would end up using <div data-stock="4" data-color="orange"> where "orange" would be calculated and echoed via backend code, so we could do background-color: attr(data-color); .
@ukyo6195
@ukyo6195 10 сағат бұрын
Do it in JS. Like all the other stuff around this use case.
@Sanjo90
@Sanjo90 14 сағат бұрын
Nice new stuff, hope to use on prod in 2 years
@YuraymarStewart-r4s
@YuraymarStewart-r4s 14 сағат бұрын
Nice! Can you exclude child elements from mixing?
@mrwhatsreal8430
@mrwhatsreal8430 14 сағат бұрын
Out of context, but your subscription of 24.99$ per month, gives same perks as the 49.99$, this is....not so great, i mean just a shoutout, i believe people who pay double should something more
@KevinPowell
@KevinPowell 14 сағат бұрын
Any suggestions? :)
@RaulMercado
@RaulMercado 13 сағат бұрын
What subscription are you talking about? I buy his courses individually, no subscription.
@screamtwice
@screamtwice 14 сағат бұрын
This is all very cool, but can iOS Safari please fix position: sticky; so it doesn't Jitter from the scrolling hardware acceleration, it annoys me to no end, and we end up having to use position: fixed; with JS to apply and unapply, so crappy. lol
@KevinPowell
@KevinPowell 14 сағат бұрын
File bug reports (or comment on existing ones). They see, and fix things, based on those. Sometimes quickly, and other times it takes longer, but that's where the engineers who work on the browsers track problems :)
@screamtwice
@screamtwice 13 сағат бұрын
@@KevinPowell absolutely, been chasing this one for a whole year now, and it's a known bug on their end, just hope it's progressing to a solution! The company I work for, most of their traffic is through iOS Safari, so they don't want me to use sticky because of this bug, sad, cause I love sticky so much! Thanks Kevin for your videos, they are always so good and informative!
@JimKernix
@JimKernix 14 сағат бұрын
How do you follow release notes and which release notes should you follow? I make a point of looking at the new stuff when I open VS Code but I'd love to know what else to follow.
@KevinPowell
@KevinPowell 14 сағат бұрын
Chrome, Safari, and Firefox. developer.chrome.com/release-notes developer.apple.com/documentation/safari-release-notes www.mozilla.org/en-US/firefox/releases/
@alesholman801
@alesholman801 16 сағат бұрын
Oh ye the 15248th way to center something xd
@joserabn7156
@joserabn7156 16 сағат бұрын
Freaking love it! Thanks bro!
@nozomi_tailwind
@nozomi_tailwind 17 сағат бұрын
its a long time since i use float for my element, and thanks for the reminder that this property exist
@SunightMusic
@SunightMusic 19 сағат бұрын
I think illl use it often. Thanks
@iBabs_4_Codes
@iBabs_4_Codes 21 сағат бұрын
Gonna try this in tailwind
@Milo_1010_
@Milo_1010_ 21 сағат бұрын
I just subscribed to your channel, this video helped me a lot to understand better how I can optimize my images with srcSet and size attributes. Thank you and please continue these videos, you made it very simple and interesting !
@codewithsehran
@codewithsehran 21 сағат бұрын
you just made the Bangladesh flag before knowing ❤
@TheHamidshahzad
@TheHamidshahzad 22 сағат бұрын
the best in the topic 😘 stay blessed
@TheMediinaa
@TheMediinaa 23 сағат бұрын
The useful thing I noticed besides centralizing things was the unit of vw used for border-radius 😊 Am I the only one who still struggles with units?
@jahirrana8879
@jahirrana8879 Күн бұрын
Do you know that you have made a flag in Bangladesh?
@sereneflatun
@sereneflatun Күн бұрын
Thank you
@uhkeyy4144
@uhkeyy4144 Күн бұрын
after looking through hella articles and yt videos this was the final one that helped me understand parallax lol
@chrisjacobs5844
@chrisjacobs5844 Күн бұрын
I have been looking at your snippet posts for a while now, always something useful. Always someting that ensures I bookmark it to go over it again. Keep up the videos their a treasure even for seasoned coders
@back2Islamyt
@back2Islamyt Күн бұрын
I almost forgot about float existence. I used to use it a lot when I was a begginer
@Ijsthee9
@Ijsthee9 Күн бұрын
Where is the explanation for the scroll spy TOC?
@j.r.r.tolkien8724
@j.r.r.tolkien8724 Күн бұрын
Of course they had to make them 2 different words. They're "items" when they need to be justified but they're called "content" when they need to be aligned. Makes sense.
@DavidLopez-gs1fb
@DavidLopez-gs1fb Күн бұрын
Several habits you can improve, Kevin. 1. It's a myth that a CDN is better. Not necessarily. Many times it slows pages down, and what's worse, puts a new point of failure to your site. 2. A better advice is to use ONE folder of resources for ALL your projects in your website. Instead of copy-pasting the very same assets in a subfolder of each project, DON'T! Use a "common assets" folder.