Skip to content

Commit d22322a

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
implementing border radius
1 parent a188a18 commit d22322a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

starter/05-Design/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ h2 {
5757
text-decoration: none;
5858
text-transform: uppercase;
5959
display: inline-block;
60+
border-radius: 100px;
6061
}
6162

6263
.btn:hover,
@@ -74,6 +75,10 @@ h2 {
7475
padding: 8px 12px;
7576
}
7677

78+
img {
79+
border-radius: 12px;
80+
}
81+
7782
/* ------------------------ */
7883
/* COMPONENT STYLES */
7984
/* ------------------------ */
@@ -131,6 +136,7 @@ img {
131136
background-color: #087f5b;
132137
color: white;
133138
padding: 24px;
139+
border-radius: 12px;
134140
}
135141

136142
.testimonial-box {
@@ -153,6 +159,12 @@ img {
153159
/* CHAIRS */
154160
.chair {
155161
box-shadow: 0 20px 20px 10px rgba(177, 172, 172, 0.35);
162+
border-radius: 12px;
163+
}
164+
165+
.chair img {
166+
border-bottom-left-radius: 0;
167+
border-bottom-right-radius: 0;
156168
}
157169
.chair-box {
158170
padding: 24px;

0 commit comments

Comments
 (0)