mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-03 22:44:38 +08:00
* Resolved issue #2971 - changed h2 to h1 in template to adhere to accessibility guidelines. - Added h1 styles to maintain same font size. * Added header tag to template Corrected templete to use semantically correct header tag for header instead of div * Added className for App-title - Added className="App-title" to h1 tag - Changed CSS selector to target class instead of element
29 lines
377 B
CSS
29 lines
377 B
CSS
.App {
|
|
text-align: center;
|
|
}
|
|
|
|
.App-logo {
|
|
animation: App-logo-spin infinite 20s linear;
|
|
height: 80px;
|
|
}
|
|
|
|
.App-header {
|
|
background-color: #222;
|
|
height: 150px;
|
|
padding: 20px;
|
|
color: white;
|
|
}
|
|
|
|
.App-title {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.App-intro {
|
|
font-size: large;
|
|
}
|
|
|
|
@keyframes App-logo-spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|