Difference between revisions of "Background color and image"

From Level Access Web Labs
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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-color:red;
 +
  background-image:url('https://mraccess77.github.io/images/help.png') !important;  
 +
  }
 +
</style>
 +
<div class="test">
 
This is some text
 
This is some text
 
</div>
 
</div>
 
</html>
 
</html>

Latest revision as of 19:53, 12 June 2020

This is some text