B
B
bushblin2021-11-22 22:09:01
css
bushblin, 2021-11-22 22:09:01

How to center the block in this case?

This is my first time doing such positioning

How it should be:
https://imgur.com/6uoeesw

How it is:
https://imgur.com/1B0uxKu

The structure is this:
body > 2 sections (left menu, tiles with indicators)

I need tiles centered as in a figma, relative to the white area after the menu
I pray, help, burns

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex_mos, 2021-11-22
@bushblin

Wrap tiles with indicators in a div and ask him

display:flex;
align-item: center;
justify-content: center;

For good, it's better to throw the project on codpen or at least the code to see the structure

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question