Add button animation snippets
This commit is contained in:
@ -14,7 +14,7 @@ Creates a border animation on hover.
|
||||
|
||||
```css
|
||||
.animated-border-button {
|
||||
background-color: #141414;
|
||||
background-color: #263059;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
outline: none;
|
||||
@ -33,13 +33,13 @@ Creates a border animation on hover.
|
||||
}
|
||||
|
||||
.animated-border-button:before {
|
||||
border-top: 2px solid #141414;
|
||||
border-top: 2px solid #263059;
|
||||
right: 0;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
.animated-border-button:after {
|
||||
border-bottom: 2px solid #141414;
|
||||
border-bottom: 2px solid #263059;
|
||||
bottom: -4px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user