CSS Grid Tutorial | 3 Practical Examples | Bite-Sized Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 4

  • @Mario-er7eo
    @Mario-er7eo 3 ปีที่แล้ว +2

    What is 1fr in grid-template-column?

    • @CodeLab98
      @CodeLab98  3 ปีที่แล้ว +3

      Fr is a fractional unit and 1fr is for 1 part of the available space.

  • @__prod1gy__793
    @__prod1gy__793 3 ปีที่แล้ว +2

    not so good mate,you have to include auto-fit and minmax because you dont need to use media queries,i would suggest you to make some grid layouts with naming grid columns thats what people need

    • @CodeLab98
      @CodeLab98  3 ปีที่แล้ว +4

      Thank you for your input. This was just an example of some practical uses of CSS-Grid. You are right. Auto-fit and minmax are great properties and I will be doing videos on them and naming grids in the future, but in this video, the purposes of that section of the video, media queries worked perfectly fine. Thanks