In this presentation, Marc shows how to make an Override or Alternate Layout, but only with CSS. This is possible with CSS Grid. This way of making Overrides is very handy for different reasons:
No HTML and no PHP is required.
You can have (completely) different layouts according to the viewport and so be mobile-first.
In many cases, you can just copy-paste your CSS from one template to another and it will work immediately.
It requires less maintenance than when you create a "real" Override / Alternate layout.
Joomla 4's frontend is largely based on CSS Grid. So you should be learning CSS Grid anyway!
Смотрите видео Making CSS-only Overrides with CSS Grid in Joomla with Marc Dechèvre онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Joomlashack 21 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,664 раз и оно понравилось 24 людям.