A
A
artekha2016-11-29 17:54:49
css
artekha, 2016-11-29 17:54:49

How to remove the block from the right edge of the screen?

Hello, there are two blocks (purple), they are 300px each, you need to remove them from the edges of the screen by 250px, one to the left, the other to the right. To the left, the block is removed correctly (goes off the screen), and to the right, it does not go off the screen, but makes a horizontal scroll. I tried to do both through right -250px and translate3d(250px, 0, 0), but the strip is still there. Attached video: take.ms/jn0i5
Thanks for the help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Mudrenok, 2016-11-29
@mudrenokanton

make the main block overflow-x: hidden

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question