CSS Grid Garden 16 grid-area grid-row grid-column

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • CSS Flex Grid Garden exercise 16. Use grid-area to combine grid-row and grid-column. The / character separates values. First two values is the top left or starting position. Second two values is the bottom right or ending position. Positive values count from the top left. Negative values count from the bottom right. Span values must be positive.
    grid-row-start: 1; grid-row-end: 2; grid-column-start: 3; grid-column-end: 4;
    OR
    grid-row: 1 / 2 ; grid-column: 3 / 4;
    OR
    grid-area: 1 / 3 / 2 / 4;
    cssgridgarden....

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