App.css
css1 kB38 linesIn Examples.zip
Examples.zipChapter05-PropssrcApp.css
.App {
min-height: 100vh;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 40px 20px;
text-align: center;
}
.content {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
.demo-box {
background: white;
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.demo-box h2 {
color: #667eea;
border-bottom: 3px solid #667eea;
padding-bottom: 10px;
margin-top: 0;
}
.cards-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 20px;
}