App.css
css1 kB50 linesIn Examples.zip
Examples.zipChapter03-JSXsrcApp.css
.App {
min-height: 100vh;
}
.App-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 60px 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.App-header h1 {
margin: 0;
font-size: 2.5em;
}
.content {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
.demo-section {
background: white;
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.demo-section h2 {
color: #667eea;
border-bottom: 3px solid #667eea;
padding-bottom: 10px;
}
.examples {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 20px;
}
.example {
background: #f9f9f9;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #667eea;
}