File tree 2 files changed +23
-12
lines changed
packages/react-scripts/template/src
2 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
.App-logo {
6
6
animation : App-logo-spin infinite 20s linear;
7
- height : 80 px ;
7
+ height : 40 vmin ;
8
8
}
9
9
10
10
.App-header {
11
- background-color : # 222 ;
12
- height : 150px ;
13
- padding : 20px ;
11
+ background-color : # 282c34 ;
12
+ min-height : 100vh ;
13
+ display : flex;
14
+ flex-direction : column;
15
+ align-items : center;
16
+ justify-content : center;
17
+ font-size : calc (10px + 2vmin );
14
18
color : white;
15
19
}
16
20
17
- .App-title {
18
- font-size : 1.5 em ;
21
+ .App-intro {
22
+ font-weight : 200 ;
19
23
}
20
24
21
- .App-intro {
22
- font-size : large ;
25
+ .App-link {
26
+ color : # 61dafb ;
23
27
}
24
28
25
29
@keyframes App-logo-spin {
Original file line number Diff line number Diff line change @@ -8,11 +8,18 @@ class App extends Component {
8
8
< div className = "App" >
9
9
< header className = "App-header" >
10
10
< img src = { logo } className = "App-logo" alt = "logo" />
11
- < h1 className = "App-title" > Welcome to React</ h1 >
11
+ < p className = "App-intro" >
12
+ Edit < code > src/App.js</ code > and save to reload.
13
+ </ p >
14
+ < a
15
+ className = "App-link"
16
+ href = "https://reactjs.org"
17
+ target = "_blank"
18
+ rel = "noopener noreferrer"
19
+ >
20
+ Learn About React
21
+ </ a >
12
22
</ header >
13
- < p className = "App-intro" >
14
- To get started, edit < code > src/App.js</ code > and save to reload.
15
- </ p >
16
23
</ div >
17
24
) ;
18
25
}
You can’t perform that action at this time.
0 commit comments