I have a div element on my page with its height set to 100%. The height of the body is also set to 100%. The inner div has a background and all that and is different from t
This question may be old, but it deserves an update. Here is another way to do that:
#yourdiv { display: flex; width:100%; height:100%; }