mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
38 lines
720 B
CSS
38 lines
720 B
CSS
.button {
|
|
border-radius: 4px;
|
|
background-color: #f4511e;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
font-size: 28px;
|
|
padding: 20px 30px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.5s;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: rgb(189, 0, 0);
|
|
}
|
|
|
|
.button span:first-child {
|
|
padding-left: 10px;
|
|
transition: all 0.5s;
|
|
}
|
|
|
|
.button:hover span:first-child {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.button span:last-child {
|
|
opacity: 0;
|
|
transition: all 0.5s;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.button:hover span:last-child {
|
|
opacity: 1;
|
|
padding-left: 10px;
|
|
}
|