So hopefully someone can help.
I'm trying to create a page within a site that will be have a background image that fills its <div>
. I added this code:
<style type="text/css">
.myclassdiv {
background-image:url('IMAGEURL');
background-repeat:no-repeat;
background-size:100% 100%;
}
</style>
<div class="myclass">
TEXT OVER IMAGE
</div>
However when viewing it, it only shows a slither of the image along the height of the text. How do I get it to show the whole image size? and then how do it make it responsive?