Hey HF, really strange issue here, I am working on a page, it contains multiple divs each with a background image and the following css
position: relative;
opacity: 1;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
min-height: 100%;
min-width: 100%;
each div can be hidden and shown with a button calling javascript that toggles div style to and from none/ block
however whenever a button is clicked the images disappear and just become white, any one have any idea why?
I can upload the script to a site if any one needs a closer look 🤝
position: relative;
opacity: 1;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
min-height: 100%;
min-width: 100%;
each div can be hidden and shown with a button calling javascript that toggles div style to and from none/ block
however whenever a button is clicked the images disappear and just become white, any one have any idea why?
I can upload the script to a site if any one needs a closer look 🤝


aerox.design