A div with auto resize when changing window width\height
Use vh attributes. It means viewport height and is a percentage. So height: 90vh would mean 90% of the viewport height. This works in most modern browsers. Eg. div { height: 90vh; } You can forego the rest of your silly 100% stuff on the body. If you have a header you can also do … Read more