File tree Expand file tree Collapse file tree 4 files changed +25
-8
lines changed Expand file tree Collapse file tree 4 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 1- .App {
2- background : red;
3- width : 100px ;
4- height : 100px ;
1+ body {
2+ background-color : # f5fcff ;
3+ }
4+
5+ .App--logo {
6+ animation : spin infinite 20s linear;
7+ border-radius : 50% ;
8+ vertical-align : middle;
9+ width : 38px ;
10+ }
11+
12+ @keyframes spin {
13+ from { transform : rotate (0deg ); }
14+ to { transform : rotate (360deg ); }
515}
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import './App.css' ;
3- import reactImage from './react .png' ;
3+ import logo from './logo .png' ;
44
55export default function App ( ) {
66 return (
7- < div className = "App" >
8- Hello world!
9- < img src = { reactImage } alt = "React rocks!" />
7+ < div >
8+ < h1 >
9+ Welcome to
10+ < img src = { logo } className = "App--logo" alt = "React logo" />
11+ React
12+ </ h1 >
13+ < p >
14+ To get started, edit < code > src/App.js</ code > and
15+ save the file to update.
16+ </ p >
1017 </ div >
1118 ) ;
1219}
You can’t perform that action at this time.
0 commit comments