I've hit a roadblock trying to remove the default white background from text on my page. I've tried various approaches, such as making the body and p tags transparent and using specific classes, but I just can't seem to get rid of it.
Link to image with white text background
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
.backgroundImage {
background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(desk1.jpg);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
height: 100vh;
}
body {
background: transparent;
background-color: transparent;
}
p {
background: transparent;
background-color: transparent;
}
.divText {
background: transparent;
background-color: transparent;
}
.text1 {
font-size: 40px;
background: transparent;
background-color: transparent;
}
<div class="backgroundImage"></div>
<div class="divText">
<p class="text1">
many words are written here to take up lots and lots of space. i do this to test the scrolling of my background image thank you very very much
</p>
</div>