-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style and add the Canvas component to App component
- Loading branch information
1 parent
de2cbcc
commit e4b0bf1
Showing
3 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
.App { | ||
text-align: center; | ||
display: flex; | ||
} | ||
|
||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
height: 80px; | ||
.canvas { | ||
display: flex; | ||
height: 100%; | ||
width: 80%; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.App-header { | ||
background-color: #222; | ||
height: 150px; | ||
padding: 20px; | ||
color: white; | ||
} | ||
|
||
.App-intro { | ||
font-size: large; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { transform: rotate(0deg); } | ||
to { transform: rotate(360deg); } | ||
.text-editor { | ||
border: none; | ||
padding: 20px 20px; | ||
transition: background .3s ease-in; | ||
width: 90%; | ||
} | ||
.text-editor:focus, | ||
.text-editor:hover { | ||
background: #fff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,11 @@ body { | |
margin: 0; | ||
padding: 0; | ||
font-family: sans-serif; | ||
height: 100%; | ||
} | ||
html, | ||
body, | ||
#root, | ||
.App { | ||
height: 100%; | ||
} |