Topic: image not showing from local floder for my background
                  
                  powerwebdesignz
                  pro
                  asked 7 years ago
                
                      
                      Marta Wierzbicka
                      free
                        answered 7 years ago
                    
Try the code from out documentation - https://mdbootstrap.com/css/bootstrap-background-image/.
CSS:
body, html {
    height: 100%;
}
.bg {
    /* The image used */
    background-image: url("https://mdbootstrap.com/img/Photos/Horizontal/Nature/full page/img(20).jpg");
    /* Full height */
    height: 100%; 
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
HTML:
<div class="bg"></div>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No