import "./styles.css"
function App() {
return <h1></h1>
}
.header {
font-weight: bold;
color: salmon;
}
.header:hover {
color: blue;
}
.code {
font-family: monospace;
color: #333;
}
body {
padding: 16px;
}
<html>
<head>
<link rel="stylesheet" type="text/css"
href="/styles.css"></link>
</head>
<body>
</body>
</html>
function App() {
return (
<>
<h1>
Header
</h1>
<p>
My Text
</p>
</>
)
}
render(<App />)
.header {
font-weight: bold;
color: salmon;
}
.header:hover {
color: blue;
}
.code {
font-family: monospace;
color: #333;
}
body {
padding: 16px;
}
function App() {
return (
<>
<h1>
Header
</h1>
<p>
My Text
</p>
</>
)
}
render(<App />)
.header {
font-weight: bold;
color: salmon;
}
.header:hover {
color: blue;
}
.code {
font-family: monospace;
color: #333;
}
body {
padding: 16px;
}
import "./styles.css";
function App() {
return (
<>
<h1 className="header">
Header
</h1>
</>
)
}
<h1 className="App_header_JQ3e45">
Hello
</h1>
.header {
font-weight: bold;
color: salmon;
}
.header:hover {
color: blue;
}
.code {
font-family: monospace;
color: #333;
}
body {
padding: 16px;
}