Skip to content

Commit cf85d5d

Browse files
Update CourseSection.css styles
1 parent 7643502 commit cf85d5d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/course/CourseSection.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
transition: 0.3 s;
77
animation: ease-in-out;
88
background-color: transparent;
9-
border-radius: 5px;
9+
border-radius: 20px;
1010
border: solid 2px;
1111
margin-left: 30px;
1212
margin-bottom: 10px;
@@ -60,20 +60,17 @@
6060

6161
.course-img {
6262
overflow: hidden;
63-
margin-top: 1px;
64-
margin-left: 1px;
65-
margin-right: 1px;
63+
margin: 10px;
6664
}
6765

6866
.course-img img {
6967
transition: all 1.3s ease;
70-
height: 200px;
7168
width: 100%;
72-
border-radius: 5px;
69+
border-radius: 10px;
7370
}
7471

7572
.course-img:hover img {
76-
transform: scale(1.2);
73+
transform: scale(0.95);
7774
}
7875

7976
.Btn {

0 commit comments

Comments
 (0)