File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
- body {
2
- background-color : # f5fcff ;
1
+ . App {
2
+ padding : 0 px 20 px ;
3
3
}
4
4
5
- .App-- logo {
5
+ .App-logo {
6
6
animation : spin infinite 20s linear;
7
7
border-radius : 50% ;
8
8
vertical-align : middle;
Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
1
import './App.css' ;
2
+ import React from 'react' ;
3
3
import logo from './logo.png' ;
4
4
5
5
export default function App ( ) {
6
6
return (
7
- < div >
7
+ < div className = "App" >
8
8
< h1 >
9
- Welcome to < img src = { logo } className = "App-- logo" alt = "logo" /> React
9
+ Welcome to < img src = { logo } className = "App-logo" alt = "logo" /> React
10
10
</ h1 >
11
11
< p >
12
12
To get started, edit < code > src/App.js</ code > and save to reload.
Original file line number Diff line number Diff line change
1
+ body {
2
+ background-color : # f5fcff ;
3
+ font-family : sans-serif;
4
+ }
Original file line number Diff line number Diff line change
1
+ import './index.css' ;
1
2
import React from 'react' ;
2
3
import { render } from 'react-dom' ;
3
4
import App from './App' ;
You can’t perform that action at this time.
0 commit comments