L
L
LORDCODE2021-11-04 20:58:26
Flexbox
LORDCODE, 2021-11-04 20:58:26

2 blocks in the middle of container?

61841e3d3f252724354962.jpeg
Need help.
How to lay out 2 blocks with different background.
Container: 952px The
content stays inside the container block.
Left side one color 300px
Right side another color.
The color of the block goes outside the container, and the client itself must remain inside the container.
I am using flex.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2021-11-04
@LORDCODE

It is possible with a gradient https://jsfiddle.net/m8q024gy/
It is possible with pseudo-elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question