Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css background image with url

/*This inserts the background*/
.background {
  background-image: url('hellothere.jpg')
}
/*These are the different values for background-size*/
background-size: cover;
background-size: contain;
background-size: inline
background-size: 6px;
background-size: 40%;
background-size: auto;
/*I hope i was helpful :)*/
 
PREVIOUS NEXT
Tagged: #css #background #image #url
ADD COMMENT
Topic
Name
4+6 =