I found some CSS code that should allow me to fill a widget with a background image, but I am not sure how to properly adapt it for use. My goal is to be able to drop an image as a background (edge to edge inside the widget) in a Site Builder => HTML Editor widget, secondarily, I would like to control its opacity to make it a soft image behind text.
I tried this code a couple different ways, and couldn't get it to work at all. And guidance is appreciated..
<style>
{ margin: 0; padding: 0; }
html {
background: url('images/yourimage.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
updated by @xephius: 06/20/17 06:40:42AM