CSS GRID: Sizing Grid Items - 9 of 25

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 20

  • @clevermissfox
    @clevermissfox Рік тому +1

    Maybe my comment would be more helpful on this episode:
    I got stuck with extra space in a column and couldn’t figure out why. I was creating my elements in relation to their parent , had an img at 50%. Then decided to make the parent a grid with template-columns set to auto and there was all this extra space next to the img. Couldn’t figure out why for ages.
    Once your item becomes a grid item, giving them a width in percentage then relates it to the size of the CELL its living in! I was telling it to only take half its cell! Instead i needed to size the column to the width I wanted the image to be and removed the width on the image. Then it took up 100% of its cell as is default ❤

  • @davidfischer9186
    @davidfischer9186 6 років тому +3

    the Emmet $ was new for me, thanks. Great teaching and content wes!

  • @markslima1557
    @markslima1557 2 роки тому +2

    wait how did you get that POOP emoji! which extension do you use for emoji! thanks for this amazing course by the way!

  • @Mooha187
    @Mooha187 14 днів тому

    So fun and informative
    Pure Gold

  • @toluwanimiogunjobi4637
    @toluwanimiogunjobi4637 Рік тому +2

    Please how do you add emojis to your html code

  • @kodejam5565
    @kodejam5565 3 роки тому +2

    CSS grid is like tables in html. Tables has row span and col span, all colums in the vertical line has the same width, ect. ect. there are lots of similarities

  • @arturdomanski7102
    @arturdomanski7102 6 років тому +4

    How did you vertically center text inside grid items?

    • @kyawsiesein8865
      @kyawsiesein8865 6 років тому +1

      check justify content && align items :)

    • @avirupsinha
      @avirupsinha 2 роки тому

      align-text: center;
      For all times
      ¯\_༼ •́ ͜ʖ •̀ ༽_/¯

  • @leagueofmusic9622
    @leagueofmusic9622 6 місяців тому

    grid-column: span 2; //On item that has to take 2 columns.

  • @chezchezchezchez
    @chezchezchezchez 4 роки тому +1

    This is fantastic!

  • @alhaweity
    @alhaweity 3 роки тому

    what 's the name of the theme please ?!

  • @Suneriins234
    @Suneriins234 4 роки тому +1

    Great learning!

  • @SakthiKumaran04
    @SakthiKumaran04 Рік тому

    Really helped a lot!!!!!

  • @mesalesme7501
    @mesalesme7501 3 роки тому +1

    I was just told "1fr" = one fraction?

  • @ueye
    @ueye 6 років тому +3

    You mentioned that "fr" stands for "free space", I think you meant to say it stands for "fraction"?

    • @techtipsuk
      @techtipsuk 4 роки тому +1

      I think that was intentional

    • @TheCodeCreative
      @TheCodeCreative 4 роки тому

      Yes, fr is for fraction. developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout

    • @AlamKhan-yt9wd
      @AlamKhan-yt9wd 4 роки тому +1

      In 7 no. video he already mentioned "fr" as fractional unit ("amount of space left after all the elements are laid out.")

    • @clevermissfox
      @clevermissfox Рік тому

      He did explicitly say it’s a fractional unit but that he likes to remember it as “free space” ❤