I am working with a traditional design:
#divleft{
float:left;
}
#sidebar{
float:right;
}
@media screen and (max-width: 900px) {
#divleft, #sidebar{
float:none;
}
divleft
and sidebar
are elements within panelb
;
Now, I am exploring the use of grids
#panelb{
width:calc(100% - 30px);
margin:25px auto 0 auto;
display:grid;
grid-template-columns: auto 340px;
}
Given this setup, how can I arrange sidebar
below divleft
on a screen width of 900px
?