Difference between revisions of "Background color and image"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
<div style="background-image:url('https://mraccess77.github.io/images/help.png') !important; background-color:red;">
+
<style>
 +
.test {
 +
  background-image:url('https://mraccess77.github.io/images/help.png') !important;  
 +
  background-color:red;
 +
  }
 +
</style<
 +
<div class="test">
 
This is some text
 
This is some text
 
</div>
 
</div>
 
</html>
 
</html>

Revision as of 19:50, 12 June 2020