Topic: How to make empty div 100% width and height?
pawled priority asked 9 months ago
How to make the empty div (#this) fills available parent's space? https://mdbootstrap.com/snippets/standard/pawled/3716257#css-tab-view
You can give it CSS properties of width and height equal to 100% by using sizing classes .
Here is the snippet: https://mdbootstrap.com/snippets/standard/m-duszak/3721470#html-tab-view
However parent of this element in the snippet has 0 height and dynamic width of what
.col-lg-6 gives it. If you want it to fill all the available viewport to create somewhat like a background, you can take it out of your
.container element and style it properly.
Here is the snippet: https://mdbootstrap.com/snippets/standard/m-duszak/3721495
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.10.2
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: Yes