react inline css background color

49

<div style={{backgroundColor: "#FF0000"}}>red</div>
// Change the background color to red
document.body.style.backgroundColor = "red"; 

Comments

Submit
0 Comments