Skip to content

Commit e60b7da

Browse files
authored
Merge pull request #191 from Code-eat-sleep-include/my_contribution
Hover effect on the content box in courses
2 parents 109b101 + 8ff240a commit e60b7da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/Courses/index.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ const CourseItem = styled.div`
5858
border: 1px solid #ccc;
5959
padding: 10px;
6060
border-radius: 5px;
61+
transition: transform 0.3s, box-shadow 0.3s;
62+
&:hover {
63+
box-shadow: 0 0 10px 0 rgba(255, 64, 102, 1); transform: scale(1.05);
64+
border-color: red;
65+
}
6166
`;
6267

6368
const CourseImage = styled.img`

0 commit comments

Comments
 (0)