mirror of
https://github.com/adam-benyekkou/my_portfolio.git
synced 2026-01-15 20:20:09 +00:00
Added Logo and Header Text Animate Animation Typewriter and Glitch
This commit is contained in:
@@ -1,4 +1,35 @@
|
||||
.button-hover:hover {
|
||||
background-color: var(--color-nier-dark);
|
||||
color: var(--color-nier-text-light);
|
||||
.button-custom {
|
||||
cursor: pointer;
|
||||
background-color: var(--color-nier-mid);
|
||||
color: var(--color-nier-dark);
|
||||
position: relative;
|
||||
border: 1px solid transparent;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.button-custom::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 3px; /* Space from top border */
|
||||
bottom: 3px; /* Space from bottom border */
|
||||
width: 0;
|
||||
height: auto; /* This makes it respect top and bottom values */
|
||||
background-color: var(--color-nier-dark);
|
||||
transition: width 0.2s ease;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.button-custom:hover,
|
||||
.button-custom:focus {
|
||||
color: var(--color-nier-text-light);
|
||||
background-color: transparent;
|
||||
border-color: var(--color-nier-dark);
|
||||
}
|
||||
|
||||
.button-custom:hover::before,
|
||||
.button-custom:focus::before {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user