mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-17 22:44:12 +08:00
Avoid CSS targeting elements
This commit is contained in:
@@ -19,9 +19,11 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.App p {
|
||||
.App-intro {
|
||||
flex: 7;
|
||||
font-size: large;
|
||||
padding: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
|
||||
@@ -9,7 +9,7 @@ export default function App() {
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<h2>Welcome to React.</h2>
|
||||
</div>
|
||||
<p>
|
||||
<p className="App-intro">
|
||||
To get started, edit <code>src/App.js</code> and save to reload.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user