Difference between revisions of "CSS Background Image"

From Level Access Web Labs
Jump to navigation Jump to search
 
Line 8: Line 8:
 
   }
 
   }
 
   #d1 {
 
   #d1 {
       background-image:url('https://labs.ssbbartgroup.com/images/c/c8/SSB_Logo.png');
+
       background-image:url('https://labs.levelaccess.com/images/f/ff/Small_star.jpg');
 
       background-size: 156px 153px;
 
       background-size: 156px 153px;
 
       background-repeat:no-repeat;
 
       background-repeat:no-repeat;
Line 17: Line 17:
 
   }
 
   }
 
   #d2 {
 
   #d2 {
   background-image:url('https://labs.ssbbartgroup.com/images/2/2e/Star.png');
+
   background-image:url('https://labs.levelaccess.com/images/f/ff/Small_star.jpg');
 
       background-size: 156px 153px;
 
       background-size: 156px 153px;
 
       background-repeat:no-repeat;
 
       background-repeat:no-repeat;

Latest revision as of 14:09, 26 April 2019

Example of the CSS Background Image property background-image.

background image with transparent color

This is some text.

background image without transparent color