Skip to content

Commit

Permalink
[feature] transition property
Browse files Browse the repository at this point in the history
  • Loading branch information
younghyun1 committed Oct 24, 2024
1 parent 9f9b596 commit 82f912f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/navbar/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ nav {
border-radius: 100px;
border-width: 1px;
padding: 10px 20px; /* Added padding to create nice margins around the text */
transition: background-color 0.33s ease;
}

.sign-in:hover {
Expand Down
2 changes: 2 additions & 0 deletions src/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React from "react";
import "./navbar.css"; // Import the CSS file
import FormButton from "../formbutton/formbutton";



const Navbar: React.FC = () => {
return (
<nav>
Expand Down

0 comments on commit 82f912f

Please sign in to comment.