-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsample.css
More file actions
32 lines (26 loc) · 710 Bytes
/
Copy pathsample.css
File metadata and controls
32 lines (26 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Hello World CSS - A sample stylesheet */
:root {
--primary-color: #667eea;
--secondary-color: #764ba2;
--text-color: #333;
--bg-color: #f5f5f5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: system-ui, -apple-system, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.card {
background: white;
border-radius: 12px;
padding: 2rem;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-2px); }
@media (max-width: 768px) {
.container { padding: 1rem; }
}