w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
I'm trying to make my loading screen cover the entire screen! I tried this

To make an element cover the whole screen make it fixed:

.loading {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* Apply other styles */
}

Absolute positioned elements will only cover their parent container.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.