Files
hermes/WebApp/wwwroot/css/style.css
Witkopawel 470ce72b6a Wersja probna
powinno cos dzialac
2025-04-30 12:40:59 +02:00

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;
}