@media only screen and (max-device-width: 599px) {1 .mob-home { max-width: 100vw; display: flex; flex-direction: column; & > * { margin-bottom: 1.5rem; } .post-area { } } .sidebar-area { background-color: lighten($primary-color, 40%); padding: 1rem; } } @media only screen and (min-device-width: 600px) { .mob-home { display: none; } }