Skip to content

Commit

Permalink
styling enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
sainKunal committed Oct 10, 2024
1 parent 8f87ca1 commit 3731724
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ body.nav-active {

.btn {
background-color: #1a1a1a;
/* border-radius: 20px; */
}

:is(.btn-primary, .btn-secondary):is(:hover, :focus-visible) {
Expand Down Expand Up @@ -1382,8 +1383,18 @@ button:hover {
font-size: 1.8rem;
border-radius: 10px;
color: #fff;
width: 75%;
border: 2px solid transparent; /* Initial border */
border-radius: 5px; /* Rounded corners */
transition: border 0.3s ease, transform 0.3s ease; /* Smooth transition */
text-align: center; /* Center the text */
}
.btn:hover{
border: 2px solid white;
transform: scale(1.05);
/* background-color: whitesmoke;
} */
}

/**
* HEADER
*/
Expand Down

0 comments on commit 3731724

Please sign in to comment.