Skip to content

Commit 940b597

Browse files
committed
add style to shadow the components
1 parent a395bea commit 940b597

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

css/shadowStyle.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
body {
2+
font: 14px sans-serif;
3+
display: flex;
4+
justify-content: center;
5+
align-items: center;
6+
height: 100vh;
7+
margin: 0;
8+
}
9+
10+
.wrapper {
11+
width: 360px;
12+
padding: 20px;
13+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
14+
border-radius: 8px;
15+
background-color: #fff;
16+
}

0 commit comments

Comments
 (0)