3 underused CSS Grid features

  Рет қаралды 33,983

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 55
@roryhendrickson
@roryhendrickson 5 ай бұрын
I had no idea you could use absolute positioning along with grid, great tip!
@kaustavroy6542
@kaustavroy6542 5 ай бұрын
Awesome tips and trick. loved all of them
@KOBE42__
@KOBE42__ 5 ай бұрын
Awesome video as always Kevin! Just checking, so do absolutely positioned items in a grid become grid-items themselves?
@KevinPowell
@KevinPowell 5 ай бұрын
Great question! If the grid container is positioned, I guess so, yes, but I'd have to look at spec
@d18517
@d18517 5 ай бұрын
Great video, thanks. Really useful - I love the grid videos. And the new theme is good too!
@ModMySelf18
@ModMySelf18 4 ай бұрын
Just to let you know to the animated fr thing at 13:28, but it is possible to make a transition between fr. I "animate" my accordions like this. Open accordion has a 1fr child (the content) and closed 0fr, with overflow hidden it works like a charm :) (probably you already know, but wanted to let all the other people know that)
@robertsundblad7061
@robertsundblad7061 5 ай бұрын
I need all of these Grid-videos tog get my brain about learning them. And yes, I like the new theme! Was thinking I wanted it for my own IDE.
@MrBlaq
@MrBlaq 5 ай бұрын
Another awesome advanced tutorial! Keep'em coming and Thank you!
@PicSta
@PicSta 5 ай бұрын
Great video as always. Really love your videos and watch them as they come out. I like the new theme, which one is it? Or custom?
@ROL4ND-CSS
@ROL4ND-CSS 5 ай бұрын
This again an awesome video with the true powers of css grid. Thanks Kevin for these clear and good examples! 😊
@KevinPowell
@KevinPowell 5 ай бұрын
Thanks Roland!
@Ragnar_Oock
@Ragnar_Oock 5 ай бұрын
this video would have been a great way of showcasing the `grid-template` shorthand. it makes the whole "defining the grid" a lot more visual and you don't need the weird `grid-template-area: unset` because the shorthand overrides it for you.
@KevinPowell
@KevinPowell 5 ай бұрын
One of these days 😂
@ricorobinson
@ricorobinson 5 ай бұрын
Great tips, being able to play with layouts like this is fantastic compared to the css layout mud wrestling we had to do 10 years ago
@DocGenius42
@DocGenius42 5 ай бұрын
Since you mentioned it at the end: transitioning from 0fr to 1fr doesn't seem to work anymore in FireFox (it did before). I have to change 0fr to 0 in order for my Accordion to function properly which ofcourse means that it will jump between those values now. Haven't tested if the latest release fixed that, but I doubt it.
@quark2012
@quark2012 5 ай бұрын
Awesome! This was really useful.
@sovereignlivingsoul
@sovereignlivingsoul 5 ай бұрын
great video, grid is amazing, i am trying to incorporate grid lines more in my coding practices, difficult to find the right combination sometimes if the page gets too busy, or if trying to do in such a way as to avoid @media or @container type coding.
@clevermissfox
@clevermissfox 6 ай бұрын
Transitioning w the fr unit- i know ive transitioned rows from 0fr to 1fr but im curious what the exact constraints are if 50px to 1fr didnt work correctly. Or maybe mine just looks like it works and it wouldnt be able to do a reverse infunite animation 🤔 Love the grid series! Wonder if subgrid appreciation month is coming again ✨️
@DocuFlow
@DocuFlow Ай бұрын
Quality stuff!
@tgd-613
@tgd-613 5 ай бұрын
Great tips. Thanks.
@sovereignlivingsoul
@sovereignlivingsoul 2 ай бұрын
as for the row movement in the animation, perhaps putting the animation container in a container and give the parent a transparent background, shouldn't affect anything outside of the parent
@Sofia-ts6gy
@Sofia-ts6gy 3 ай бұрын
Position absolute still allowing you to align the item according to grid lines literally made me think “god i wish i could do that in figma autolayout” lol.
@bobmarteal
@bobmarteal 5 ай бұрын
The absolute positioned items in grid areas is bonkers.
@gknt7234
@gknt7234 5 ай бұрын
The implementation of CSS can initially appear perplexing and counterintuitive, seeming more like a clever workaround than a straightforward feature.
@pixiedev
@pixiedev 5 ай бұрын
That's awesome I didn't know that 😄 we can do this 💪.
@RickBeacham
@RickBeacham 5 ай бұрын
How would we animate the SVG car to move behind the transparent image?
@bopuc
@bopuc 5 ай бұрын
You consistently make 1999 web designer me cry. (Thank you!)
@backup_hdd
@backup_hdd 5 ай бұрын
wait, i'm confused. did you even need the position absolute for the car icon? like, wouldn't setting the grid-column/-row alone have the same effect?
@backup_hdd
@backup_hdd 5 ай бұрын
except for top/left/… of course, but i think you could've used margin for that, right?
@nabilpatel970
@nabilpatel970 4 ай бұрын
Great video 🔥 Just want to mention that the driver looks like Tom Holland 😂
@tsdineshjai8565
@tsdineshjai8565 5 ай бұрын
can you kindly provide the codepen link for this ?
@justdude2599
@justdude2599 5 ай бұрын
What vscode theme you use? thanks
@lemapp
@lemapp 5 ай бұрын
Could you use, "CSS -- overflow: hidden;" to make the image float up and down and not subject lower layout items to unnecessary movement?
@KevinPowell
@KevinPowell 5 ай бұрын
Not with how I'm animating this, but if I had only animated the image, then yes
@jasonatcuriousmedia
@jasonatcuriousmedia 5 ай бұрын
Absolute positioning of the grid item in conjunction with grid-columns / grid-rows only works if the grid container is position relative (or absolute or fixed). Unfortunately, this nuance appears to have been skipped in the video entirely.
@kopilkaiser8991
@kopilkaiser8991 5 ай бұрын
I am really constantly improving my knowledge in CSS Grid. It is vast and diverse.
@MrCC-hx8xr
@MrCC-hx8xr Ай бұрын
Demo pls? Kevin?
@vilijanac
@vilijanac 5 ай бұрын
wow, I learned a lot new stuff about CSS. Thanks for showing.
@DesignCodeToken
@DesignCodeToken 5 ай бұрын
I send email to you for BeyondCSS course, but get no reply, how can I get in touch with you. Sorry to comment here, but really don’t know how I can get it touch with you.
@detore
@detore 5 ай бұрын
you say don't animate your fr's, but your 0 to auto video you link to... is animating fr's???
@geHuC
@geHuC 5 ай бұрын
isn't it transitioning not animation?
@SandroWalach
@SandroWalach 5 ай бұрын
Grid doesn't need to Flex!
@vfxcraftacademy
@vfxcraftacademy 5 ай бұрын
Hii Kevin I join company as intern and I learn bootstrap 5 because we work on that and make website full responsive on every single website ...but I stuck and can't figure out how I can write smooth code with responsive using media query ....so can you make video on that ..... Please reply my question... Love from india ❤
@_zer09_
@_zer09_ 5 ай бұрын
one dark pro?
@OCEMTechZone
@OCEMTechZone 5 ай бұрын
🎉
@toshitsingh7270
@toshitsingh7270 5 ай бұрын
Grid itself is underused
@lomavatatechfiji3237
@lomavatatechfiji3237 5 ай бұрын
thank you bro from Fiji
@BrunoNeureiter
@BrunoNeureiter 5 ай бұрын
I didn't really understand or remember anything but it's a nice introduction
@ukyo6195
@ukyo6195 5 ай бұрын
🤯
@WERWOLION
@WERWOLION 5 ай бұрын
expand the topic Custom HTML Tags Custom HTML Tags
@sujonshekhbd
@sujonshekhbd 5 ай бұрын
hello css boss
@KevinPowell
@KevinPowell 5 ай бұрын
👋
@ALCATRAAAZZ
@ALCATRAAAZZ 5 ай бұрын
godamn I said goddamn!
@anion155
@anion155 5 ай бұрын
“Another tip is z-index” no you don’t…
Write less code with these 5 CSS tips
15:38
Kevin Powell
Рет қаралды 51 М.
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 273 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 948 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 187 М.
Front-end developer takes on a CSS battle
18:38
Kevin Powell
Рет қаралды 195 М.
23 CSS features you should know (and be using) by now
31:31
Kevin Powell
Рет қаралды 84 М.
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 298 М.
Animate details & summary with a few lines of CSS
12:36
Kevin Powell
Рет қаралды 36 М.
Flexbox or Grid challenge // which would you use to solve these?
25:27
9 Web Design Trends 2025 to Spruce Up Your Site
16:33
Showit
Рет қаралды 83 М.
CSS Popover + Anchor Positioning is Magical
20:44
Kevin Powell
Рет қаралды 54 М.
Am I Good Enough To Solve These CSS Battles?
28:26
Web Dev Simplified
Рет қаралды 93 М.