If you enjoyed this screencast, consider subscribing to my YouTube channel for more screencasts about HTML, CSS, and JavaScript.
We're a place where coders share, stay up-to-date and grow their careers.
If you enjoyed this screencast, consider subscribing to my YouTube channel for more screencasts about HTML, CSS, and JavaScript.
Lucius Emmanuel Emmaccen -
haycuoilennao19 -
Dannyvpz -
Jaemin Yoo -
Discussion (2)
Another way you can do this with a little less CSS, is on the
.main__content
. Remove the width property and just haveflex: 1
. Now if the sidebar is hidden, it will just take up the room you wanted.Definitely, you can see here that I make that recommendation youtu.be/OkcUU_G-wVU?t=396