F
F
fgehte2020-04-16 11:19:14
css
fgehte, 2020-04-16 11:19:14

How to build such a (photo inside) grid on grid css?

Look at the code with an experienced eye, and advise where and how to improve, and what is generally superfluous.
I'm converting from mobile version to desktop version.
5e98146eca7e0085983478.png- Mobile
5e981483b1823806524378.png- Tablet
5e98148a1dff8594124840.png- Desktop
Here is my attempt to mark up on grids, it seems to me that it can be done easier, but there is not enough experience and knowledge.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-04-18
@Ravenio

Greetings.
If I'm not mistaken, then in grids, as well as in flexes, there is an order, first of all, manipulate here.
Based on the foregoing, I’ll immediately make a reservation on grids I don’t typeset, although I have a lot of experience, I love new technologies; here I consider grids an overhead. I'll try to the point of your problem. A ready-made solution, I will not provide soryan, there is simply no time. What I see right away is the layout is implemented through a well-built layot ​​through flex mobile flex order column heart under the photo posa > posr c order. As in other versions, there is flex-flow manipulation: row, order, and so on. If it’s difficult and there is a hitch, you take an empty canvas and do it from scratch, not in the current project, but simply in an empty one.
Also, as a solution, when the designer is too clever, and not all designers know that css is awesome, I try to contact him and find a compromise.
In general, the task is feasible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question