CSS Grid Tutorial #9 - Grid Areas

CSS Grid Tutorial #9 - Grid Areas

Net Ninja

7 лет назад

108,032 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@D8Football
@D8Football - 13.05.2020 03:19

it's even prettier if you make all the grid area names the same length

Ответить
@hyperborean72
@hyperborean72 - 22.05.2020 00:33

I wonder how the template worked correctly with the spelling error on line (13)

Ответить
@fks1980
@fks1980 - 25.05.2020 03:45

Excellent tutorial as usual but how is it possible to have an error in the code and get the grid to still show up as normal? Error on line 13 "gird-template-columns" again GIRD in case no one reads character by character...

Ответить
@josesuch4962
@josesuch4962 - 01.06.2020 05:13

I can't see shit

Ответить
@malcolmcolindixon
@malcolmcolindixon - 02.06.2020 00:33

CSS Grid is great compared to the old float and clear but I really don't see the point of grid areas, using grid-column and grid-row seems much easier and less typing. But I'm a newbie so may be missing the point.

Ответить
@adamoceallaigh2267
@adamoceallaigh2267 - 03.07.2020 13:30

Question: Is there anyway of using repeat(4, main) or something in the grid template areas, rather than writing out main 4 times to signal it spanning the whole width of page ?

Ответить
@byedwardleung
@byedwardleung - 13.07.2020 19:13

Hi Net Ninja,

I just want to say thanks for this tutorial series of Grid, you have taught me a lot. I have a few questions to ask you, would you recommend using CSS Grid over Flexbox?

If so do you have another series on CSS flexbox and maybe a responsive design series as well so I can make my website suitable for mobile users as well!

Thanks in advance!

Edward :)

Ответить
@tommckenzie
@tommckenzie - 03.08.2020 00:42

I don't like you Net Ninja

Ответить
@codewithfarhad8594
@codewithfarhad8594 - 03.08.2020 10:42

CSS GOD, let me worship you with all my divs 😭❤️❤️♥️😍

Ответить
@princetanwar5694
@princetanwar5694 - 21.08.2020 16:11

that's fucking awesome

Ответить
@ezgie3329
@ezgie3329 - 12.09.2020 08:00

Thank you! i've watched quite a few tutorials on css grid and this made it all click finally!

Ответить
@RameenFallschirmjager
@RameenFallschirmjager - 13.10.2020 16:12

When I watch a video from your channel, I become an automaton! Because instantly I smash the like button!

Ответить
@sudiptaadak7712
@sudiptaadak7712 - 23.11.2020 15:53

Checkout his flex box series also . It’s also awesomeeeee.....

Ответить
@517nickyj
@517nickyj - 01.12.2020 16:00

And it all worked with "gird-template-columns" hahahaha

Ответить
@Shakeel714
@Shakeel714 - 26.12.2020 08:04

Amazing tutorial series for newbies learning CSSGrid

Ответить
@seanymiller2
@seanymiller2 - 13.01.2021 04:16

I didn't see the point of grid-area until this tutorial. Great job!

Ответить
@Joe-pe8fe
@Joe-pe8fe - 05.03.2021 16:17

Thank you very much

Ответить
@jodarove
@jodarove - 07.04.2021 21:22

grid is life changing!! Still I don't know how you make it work with that typo on line 13? that blows my mind even more... jajaja

Ответить
@UttamSingh-ec2hv
@UttamSingh-ec2hv - 19.05.2021 21:57

the moment i have grid area to each element they all overlap over each other. can you tell me whats going wrong?

Ответить
@bane2256
@bane2256 - 04.06.2021 00:47

what if you have three columns and one item takes up double the column width as the other two?

Ответить
@mohamedrifaath7711
@mohamedrifaath7711 - 05.06.2021 22:36

aw man thanks a lot, this takes a lot of stress away for a newbie

Ответить
@digiexploration530
@digiexploration530 - 27.06.2021 18:03

re gird

As someone mentioned, you don't need that line. What I would guess is that once he added the "header header header header " it assumed the 4 columns. Notice that when he first added the "gird" line and refreshed, it didn't show 4 columns. ;)

Ответить
@DanielWolf555
@DanielWolf555 - 16.09.2021 10:37

In line 13 you wrote gird instead of grid. So it should not work...

Ответить
@martaberzina2600
@martaberzina2600 - 20.10.2021 09:35

So simple! Thnak you :)

Ответить
@mostafaekbal3863
@mostafaekbal3863 - 07.11.2021 01:29

thank you♥♥

Ответить
@fancyAlex1993
@fancyAlex1993 - 10.11.2021 05:46

Damn GRID is amazing !

Ответить
@yehtet8154
@yehtet8154 - 13.11.2021 07:33

Danmm I nvr know this awesome way .Thankz ninja!!!! Its so easy.

Ответить
@kamesha5973
@kamesha5973 - 28.11.2021 19:26

In the 13th line of this code you have used gird instead of grid,is that right? I'm a bit confused how it's working with that name

Ответить
@must5429
@must5429 - 02.12.2021 03:03

how to position things inside the cell? for example how to put the header in the left-top side ?
or main in the right bottom side?
also when I use text-align: left or right that changes the whole grid.

please help

Ответить
@СанжарАбдуллаев-к8м
@СанжарАбдуллаев-к8м - 24.12.2021 11:57

it's amazing! Never knew constructing site can be so easy!

Ответить
@mavinms
@mavinms - 18.06.2022 17:30

no code files on github link😁

Ответить
@bigfoad
@bigfoad - 19.07.2022 12:04

When i try to adjust the height/width of the nav for example, there is always a space left. How do i control the width and height? Do i have to make more rows and coloumns?

Ответить
@icaruz9094
@icaruz9094 - 14.10.2022 15:36

*GIRD

Ответить
@ashtaashta9069
@ashtaashta9069 - 20.02.2023 20:22

Superb..Thank you

Ответить
@informer787
@informer787 - 03.03.2023 14:23

sincerly speaking, am wondering how the css is able to run perfectly yet you have a spelling error of grid as "gird" at line 13 maybe well viewed at the 7 min of the video run time. anyways, am not getting the expected output even with a correct spelling. I can't figure out why

Ответить
@gryp255
@gryp255 - 22.03.2023 17:49

King!

Ответить
@robingather6877
@robingather6877 - 28.03.2023 13:11

The devs who made this are heros. You're one too.

Ответить
@VideoNOLA
@VideoNOLA - 10.07.2023 00:42

You've just described GRID-TEMPLATE-AREAS. Came here looking for GRID-AREA explanation. Big difference.

Ответить
@rbmelanie
@rbmelanie - 13.09.2023 14:40

this series is awesome! Thanks for all of this :) Quick question: is it best to name grid elements (and use grid-template-areas) or to use the grid-column and grid-row to position elements? Or in which scenario one is better than the other?

Ответить
@pearberryyy
@pearberryyy - 12.12.2023 09:59

✨ gird ✨

Ответить
@suvrotica
@suvrotica - 24.12.2023 11:26

The gird is not the same as grid,so it ignored creation of 4 grid columns

Ответить
@Covyessien
@Covyessien - 07.01.2024 22:48

To everyone that commented 4 - 5 years ago, are you now a standard programmer?

Ответить
@visitor_t-w3p
@visitor_t-w3p - 18.02.2024 18:08

Really amazing tricks...

Ответить
@gregjerry4110
@gregjerry4110 - 13.04.2024 16:22

Nothing made me front end work than dealing with CSS layouts, but you've made grid look easy, Kudos Bro

Ответить
@TheScorecode
@TheScorecode - 22.04.2024 18:01

Thank you , you explained well, this woulb be helpful

Ответить
@Pareshbpatel
@Pareshbpatel - 25.04.2024 22:48

CSS Grid Areas, beautifully and clearly explained. Thanks, Shaun.

{2024-04-24}

Ответить
@iPocketz
@iPocketz - 26.04.2024 18:54

stacking rows with the same values doesn't seem to be working on my side :/

Ответить
@junotrazakarison2003
@junotrazakarison2003 - 30.07.2024 12:53

If you notice, you mispelled the grid-template-columns: repeat(4, 1fr). Instead of grid, you wrote gird on this video Grid Areas. However, the desired results were met and that is freaking awesome and amazing. You saved lots of people right here.

Ответить
@AlaKareem
@AlaKareem - 19.09.2024 11:22

😮

Ответить