Skip to content

Commit 467a8b5

Browse files
Merge pull request #859 from shmbhvi101/main
Hover effect + box shadow added to "view all" in 'Meet Core Members' Section
2 parents d5d29c1 + eac200c commit 467a8b5

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

index.html

+24-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,30 @@
9797
<!-- animate on scroll import -->
9898
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
9999
<!-- animate on scroll import end -->
100-
100+
<style>
101+
.Cbtn {
102+
103+
margin: 20px auto 10px;
104+
105+
background-color: white;
106+
border-radius: 25px;
107+
color: #F7B801; /* Initial text color is white */
108+
transition: all 0.3s ease; /* Smooth transition for hover effects */
109+
110+
text-align: center; /* Center align text */
111+
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
112+
cursor: pointer; /* Change cursor to pointer */
113+
}
114+
115+
.Cbtn:hover {
116+
background-color:#F7B801;
117+
color: white; /* Text color changes to yellow on hover */
118+
border: 4px solid white;
119+
120+
121+
122+
}
123+
</style>
101124
</head>
102125

103126
<body>

0 commit comments

Comments
 (0)