Skip to content

Commit

Permalink
new hover added
Browse files Browse the repository at this point in the history
  • Loading branch information
shmbhvi101 committed Jun 12, 2024
1 parent 6d2bc05 commit eac200c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,30 @@
<!-- animate on scroll import -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<!-- animate on scroll import end -->

<style>
.Cbtn {

margin: 20px auto 10px;

background-color: white;
border-radius: 25px;
color: #F7B801; /* Initial text color is white */
transition: all 0.3s ease; /* Smooth transition for hover effects */

text-align: center; /* Center align text */
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
cursor: pointer; /* Change cursor to pointer */
}

.Cbtn:hover {
background-color:#F7B801;
color: white; /* Text color changes to yellow on hover */
border: 4px solid white;



}
</style>
</head>

<body>
Expand Down
Empty file removed newindex.html
Empty file.

0 comments on commit eac200c

Please sign in to comment.