React App css Dodaj obraz tła
import React from 'react';
import car from './images/car.png'
function App() {
return (
{*style not styles*}
<div style={{ backgroundImage:`url(${car})` }}> <h1>This is red car</h1>
</div>
);
}
export default App;
M Hemel Hasan