fluid layouts started

This commit is contained in:
dqnid committed 2023-09-09 16:47:47 +02:00
1 parent 66af4a8c63
commit 3b2818d583
62 files changed
+2213 -3752

No files matched your search

@@ -0,0 +1,53 @@
.btn {
&:link,
&:visited {
text-transform: uppercase;
text-decoration: none;
padding: 1.5rem 4rem;
display: inline-block;
border-radius: 10rem;
transition: all 0.2s;
position: relative;
font-size: 1.6rem;
}
&--animated {
animation: slideBottom 0.7s ease-out .75s;
animation-fill-mode: backwards;
}
&:hover {
transform: translateY(-0.4rem);
box-shadow: 0 1rem 2rem rgba($color-black, 0.2);
&::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0;
}
}
&:active {
transform: translateY(-0.1rem);
box-shadow: 0 .5rem 1rem rgba($color-black, 0.2);
}
&--white {
background-color: $color-white;
color: $color-gray-dark;
&::after{
background-color: $color-white;
}
}
&::after {
content: "";
display: inline-block;
height: 100%;
width: 100%;
border-radius: 10rem;
position: absolute;
top: 0;
left: 0;
z-index: -1;
transition: all 0.4s;
}
}