Answers for "inline style in react ap + background color"

1

react inline css background color

<div style={{backgroundColor: "#FF0000"}}>red</div>
Posted by: Guest on February-20-2022
1

inline style to change background color react

// Change the background color to red
document.body.style.backgroundColor = "red";
Posted by: Guest on November-22-2020

Code answers related to "inline style in react ap + background color"

Code answers related to "Javascript"

Browse Popular Code Answers by Language