Find out how to construct CSS grid layouts in 2021 — Internet design tutorial



CSS grid is rapidly changing into an internet design commonplace, and has been adopted by Apple for grid-based layouts and galleries, by Slack for his or her person interface, and by Webflow for the Type panel and different interface elements.

On this lesson, we’ll cowl all the main points associated to CSS grid in sensible, real-world examples which might be solely barely contrived. Will grid change your world? Probably. Will it create success in your private and enterprise relationships? Completely.

There’s a cause CSS grid is being adopted so quickly and by notable frontend builders and thought leaders like Jen Simmons of https://www.structure.land/ and Jennifer Lame, who, in response to Grímur, used CSS grid to edit the 2020 Christopher Nolan blockbuster, “Tenet” (in choose theaters now).

On this lesson, we’ll cowl CSS grid in six elements:

00:00 – Prologue
01:11 – Create and configure a grid
05:09 – The magical Div block
06:46 – Auto place (utilizing a picture grid)
10:54 – Handbook place and overlapping (utilizing a hero part)
16:01 – Reusable layouts (utilizing grid template areas)
17:49 – Grids and responsive design (utilizing breakpoints)
20:03 – Hedwig’s Theme

Study extra about CSS grid on Webflow College: https://college.webflow.com

———-
Get began with Webflow: https://wfl.io/2r7cVUW

https://webflow.com

https://fb.com/webflow

source

46 thoughts on “Find out how to construct CSS grid layouts in 2021 — Internet design tutorial”

  1. I'm in love with your YT channel. You are so funny and professional at the same time. Amazing. One more thing – there are no YT ads which is very relaxing and I can be focused on the topic all the time. 😊

    Reply
  2. 1:13 "ANYTHING can be a grid. Here’s a section. Click grid? Now you have a grid."
    “The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships, motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day I got in…”
    ― Kevin Flynn

    Reply
  3. can you please ansewer my issue ? how can make grid adjustment from destktop view to tablet and to mobile phone without losing the grid i had creat in desktop view, i mean for example text in grid change position to two row instead of 1 row ?

    Reply
  4. Guys, does anybody know why at 9:15 all the images become the same size, when 100% width and height are different for each image?
    My images all stay elongated, not square. and they take the height of the longest image in each row.
    It's like NMW the first image takes fills the whole slot, and then others have to adjust to its dimensions.

    Reply
  5. After all of this I have but one question: Why did I not hear Hedwig's theme? And what was the intro music credit? This are important questions and despite understanding grids, my webflow powers don't seem to be of use when attempting to understand with these great mysteries. But that was an overview of my questions.

    Reply
  6. I am trying to make the image span into horizontal but it's not working. Body kept as usual > Added Section > Made it Grid as shown in the tutorial > Added an image > Made it 100% H&W and Fill is Cover > Then drag the image to the next column and not working. It take the whole viewport height and weight (100%vh & vw)

    Reply
  7. hi, i have problems. i have follow all the instruction but after i set the 100% height and weight then set my image content to fit cover, it gets rectangle instead of square image. where is the problem and how i can fix this?

    Reply
  8. When i span one image from the horizontal line to two compartments, it expands and increases at a 1:1 ratio, so how do you do it so that it only increases horizontally? The image doubles at a 1:1 ratio.

    Reply
  9. Help please… on the minute 9:45 they say that if you remove the height of the grid element the grid will contract but in my case when i remove the height from the grid the grid itself expand until fit to the image size (instead of contract like the video says, the grid expand – height and width) in other words the height of the grid takes the full size of the image, even when the image (every image has the same class) has 100% height, 100% width and fit=cover. i did this exercise in several browser (safary, edge, chrome and each time i did carefully each step but i have the same result, when I remove the height from the grid it dosent contract (like if the height of the grid were 0px or close to that) by contrast it expand until fit to the size of the image (again each image has the same class with this values height=100% width=100% fit= cover… thank you very much for all your comments

    Reply
  10. I'm not sure if something has changed with Webflow but the 3rd section doesn't work when I try to recreate it.
    Update: Found the solution.

    Settings to recreate:
    Align – center
    Justify – centre
    Width – 100%
    Height – 100%
    Fit – cover

    Setting the height of the grid messes it up.

    Reply

Leave a Comment