Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
b4636631
Commit
b4636631
authored
8 years ago
by
Christopher Chedeau
Browse files
Options
Download
Email Patches
Plain Diff
Simplify boilerplate css
parent
133184fb
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/App.css
+4
-12
src/App.css
src/App.js
+1
-1
src/App.js
with
5 additions
and
13 deletions
+5
-13
src/App.css
+
4
-
12
View file @
b4636631
.App
{
display
:
flex
;
flex-direction
:
column
;
min-height
:
100vh
;
text-align
:
center
;
}
.App-logo
{
...
...
@@ -10,20 +8,14 @@
}
.App-header
{
align-items
:
center
;
background-color
:
#222
;
color
:
#fff
;
display
:
flex
;
flex
:
1
;
flex-direction
:
column
;
justify-content
:
center
;
height
:
150px
;
padding
:
20px
;
color
:
white
;
}
.App-intro
{
flex
:
7
;
font-size
:
large
;
padding
:
50px
;
text-align
:
center
;
}
@keyframes
spin
{
...
...
This diff is collapsed.
Click to expand it.
src/App.js
+
1
-
1
View file @
b4636631
...
...
@@ -7,7 +7,7 @@ export default function App() {
<
div
className
=
"
App
"
>
<
div
className
=
"
App-header
"
>
<
img
src
=
{
logo
}
className
=
"
App-logo
"
alt
=
"
logo
"
/>
<
h2
>
Welcome
to
React
.
<
/h2
>
<
h2
>
Welcome
to
React
<
/h2
>
<
/div
>
<
p
className
=
"
App-intro
"
>
To
get
started
,
edit
<
code
>
src
/
App
.
js
<
/code> and save to reload
.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets