Bootstrap - Removing padding or margin when screen size is smaller

后端 未结 12 1289
深忆病人
深忆病人 2020-12-07 18:31

EDITED: Maybe I should ask which selector sets up the side padding when the screen is reduced to below 480px width? I have been browsing bootstrap-responsi

12条回答
  •  萌比男神i
    2020-12-07 19:00

    The CSS by Paulius Marčiukaitis worked nicely for my Genesis theme, here's what how I further modified it for my requirement:

    @media only screen and (max-width: 480px) {
    .entry {
    background-color: #fff;
    margin-bottom: 0;
    padding: 10px 8px;
    

    }

提交回复
热议问题