Personal-site/components/modules/Button.module.css

33 lines
550 B
CSS
Raw Normal View History

2020-06-14 09:06:49 +00:00
.container {
2020-06-14 14:20:45 +00:00
position: relative;
z-index: 1;
cursor: pointer;
outline: none;
border: none;
margin: 0 auto;
width: fit-content;
background-color: var(--quinary);
2020-06-14 09:06:49 +00:00
border-radius: 5px;
padding: 0.75rem;
2020-06-14 14:20:45 +00:00
font-family: var(--fontFamily);
font-weight: 900;
line-height: 23px;
letter-spacing: 0.05em;
text-transform: uppercase;
transform: translateY(0);
transition: background-color 0.3s ease-out, transform 0.3s ease-out;
}
.container:hover {
background-color: var(--quaternary);
transform: translateY(-15%);
2020-06-14 09:06:49 +00:00
}