Skip to content

Commit 981e8cf

Browse files
committed
feat: implementing shadows
1 parent 60084cf commit 981e8cf

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

starter/05-Design/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ h1 {
9595
line-height: 1.1;
9696
letter-spacing: -1px;
9797
/* 44 / 52 / 62 */
98+
/*
99+
text-shadow:
100+
1) horizontal value
101+
2) vertical value
102+
3) blurred value
103+
4) color value
104+
*/
105+
/* text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); */
98106
}
99107

100108
.header-text {
@@ -149,6 +157,19 @@ img {
149157
}
150158

151159
/* CHAIRS */
160+
.chair {
161+
/* * Want the light source from the top, make shadow at the bottom */
162+
/*
163+
box-shadow:
164+
1) horizontal value
165+
2) vertical value
166+
3) blurred value
167+
4) extra radius value
168+
5) color value
169+
*/
170+
box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.07);
171+
}
172+
152173
.chair-box {
153174
padding: 24px;
154175
}

0 commit comments

Comments
 (0)