E
E
EdgeLorD2020-11-13 14:18:14
css
EdgeLorD, 2020-11-13 14:18:14

A few layout questions?

Hello, please tell me how to do it right in several places when laying out the following layout:
Layout with 1200px and 320px versions:

Top of layouts

5fae675d6f5b7217618811.png


1. It seems to me that the main version should be divided into blocks as follows:
Major version division

5fae6834c622b514242300.png

However, on the phone version here
these
5fae68822d2ef916084065.png
In theory, the elements should go to the popup menu, which will open on the button with a hamburger.

Actually the question is how to correctly remove parts of different blocks in the popup? I can't think of anything other than hiding the original elements and adding copies of them to the popup, but is that correct?

2. How to correctly insert this blue thing from 1-2-3? Stupidly through position: absolute to insert where necessary?
Picture
5fae69a58d7c0798647847.png


3. The picture is the same as in the second question. Three blocks have a protruding triangle, the question is also how to make it correctly? Just through ::before/::after throw .svg with a triangle in the right place?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-11-13
@EdgeLorD

and add their copies to popup, but is it correct?

Why not? If the UX\UI design hasn't thought about the right "folding" of elements, then it's okay if you do display: none\ display: blockon media queries in different parts of the code. For this, hands are not torn off.
What is the right way to insert this blue thing from 1-2-3? Stupidly through position: absoluteinsert where necessary?

As I understand it, this is a slider, full screen - you can absolutely nail it to the left edge body, and center it verticallyleft: 50%, transfrorm: translateY(-50%)
Just through ::before/::after throw .svg with a triangle in the right place?

Yes, since this is an element of decoration - then only through pseudo-elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question