Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

background colour in react

<div className='full'>
  </div>
  //Css for background image
  .full{
    background-image: url(./imgs/B.png);
    height: 550px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;

}
  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #background #colour #react
ADD COMMENT
Topic
Name
7+2 =