CSS: the difference between margin and padding margin:auto and margin: 0 auto difference - Programmer Sought
![Why top:0 with position:absolute not working if another element has margin- top here? - Stack Overflow Why top:0 with position:absolute not working if another element has margin- top here? - Stack Overflow](https://i.stack.imgur.com/Zi9WB.png)
Why top:0 with position:absolute not working if another element has margin- top here? - Stack Overflow
![body{ overflow: hidden;} .row{ width: 180vw; position: absolute; top: 0; left: 0; } .col-md-12, .col-md-24{ padding: 0; margin-bottom: 30px; } .col-md-24{ margin-top: -10px; } : css_irl body{ overflow: hidden;} .row{ width: 180vw; position: absolute; top: 0; left: 0; } .col-md-12, .col-md-24{ padding: 0; margin-bottom: 30px; } .col-md-24{ margin-top: -10px; } : css_irl](https://i.redd.it/zi6h6yym12c11.jpg)
body{ overflow: hidden;} .row{ width: 180vw; position: absolute; top: 0; left: 0; } .col-md-12, .col-md-24{ padding: 0; margin-bottom: 30px; } .col-md-24{ margin-top: -10px; } : css_irl
![Css provided to a component overridden by dynamically generated css · Issue #1367 · necolas/react-native-web · GitHub Css provided to a component overridden by dynamically generated css · Issue #1367 · necolas/react-native-web · GitHub](https://user-images.githubusercontent.com/5358638/59517233-62de1800-8ec3-11e9-8859-6f6e6c9db1ae.png)