color btn
This commit is contained in:
parent
e84e4cf1c4
commit
0754b3452e
1 changed files with 47 additions and 3 deletions
|
@ -246,9 +246,6 @@ a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
a:focus {
|
|
||||||
filter: brightness(1.333);
|
|
||||||
}
|
|
||||||
b {
|
b {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
@ -282,6 +279,53 @@ img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
.btn {
|
||||||
|
padding: 6px 12px;
|
||||||
|
border-radius: 6px;
|
||||||
|
color: var(--col-10);
|
||||||
|
outline: 2px solid var(--col-10);
|
||||||
|
font-weight: bold;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
text-shadow: 1px 1px 1px var(--col-05);
|
||||||
|
text-decoration: none;
|
||||||
|
background: linear-gradient(
|
||||||
|
135deg,
|
||||||
|
rgb(0 255 0 / 33%),
|
||||||
|
rgb(0 255 0 / 0%) 50%
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
225deg,
|
||||||
|
rgb(255 255 0 / 33%),
|
||||||
|
rgb(255 255 0 / 0%) 50%
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
-45deg,
|
||||||
|
rgb(255 0 0 / 33%),
|
||||||
|
rgb(255 0 0 / 0%) 50%
|
||||||
|
),
|
||||||
|
linear-gradient(
|
||||||
|
45deg,
|
||||||
|
rgb(0 0 255 / 33%),
|
||||||
|
rgb(0 0 255 / 0%) 50%
|
||||||
|
);
|
||||||
|
background-size: 600% 1200%;
|
||||||
|
background-position: 50% 50%;
|
||||||
|
transition: 0.333s;
|
||||||
|
}
|
||||||
|
.btn:hover {
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.bob {
|
||||||
|
animation: bob 0.333s infinite alternate;
|
||||||
|
}
|
||||||
|
@keyframes bob {
|
||||||
|
from {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
}
|
||||||
|
}
|
||||||
/* keep this at the end */
|
/* keep this at the end */
|
||||||
.disabled {
|
.disabled {
|
||||||
filter: grayscale(100%);
|
filter: grayscale(100%);
|
||||||
|
|
Loading…
Add table
Reference in a new issue