H
H
hajdoz432018-05-16 22:02:00
css
hajdoz43, 2018-05-16 22:02:00

Why does the horizontal scroll appear?

I beg you to explain why if you start to reduce the screen to about 1200px or less, then a small horizontal scroll appears?
https://codepen.io/anon/pen/KRGywO
I'm using a Flexbox Grid as a grid. So, if margin: 0 is specified for body (which is actually specified in normalize.css by default), then a small scroll appears ... What is the reason for this behavior? Thanks in advance for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
A person from Kazakhstan, 2018-05-16
@LenovoId

https://codepen.io/topicstarter/pen/zjmPNo something you have more width - when specifying max-width, it fell into place, look for what pops out

D
Dave Hornigan, 2018-05-16
@DeyvHorni

Removed, the scroll is gone

.row {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question