M
M
MegaPuxapb2018-02-06 02:48:58
css
MegaPuxapb, 2018-02-06 02:48:58

How to make this element?

How to properly lay out this element ("Cheap Analogues" block)
5a78ec4a6220f893654654.png
Made a :before with a width of 2000px+
Scroll appeared.
Scroll removed html, body {overflow-x: hidden;}
Now the bootstrap modal is buggy (it has padding on the right when called in the overlay).
how to be?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dom1n1k, 2018-02-06
@MegaPuxapb

Why not just make this panel the full width of the viewport?
Without stuffing it into a bootstrap container.
And then split into 2 halves, blue and white.

T
TheRevan, 2018-02-06
@TheRevan

make the section that is full width 1 before, 1 after and set it to overflow: hidden, there will be no problems

V
Vitaly, 2018-02-06
@ya-vitaliy

.entry-header::before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 150rem;
    top: 0;
    left: 100%;
    background-color: inherit;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question