diff --git a/src/commons/header/header.css b/src/commons/header/header.css
index 193b412..acb9fee 100644
--- a/src/commons/header/header.css
+++ b/src/commons/header/header.css
@@ -56,6 +56,12 @@
animation: moveInRight 1s ease-out;
}
+#header-button {
+ animation: moveInBottom 1s ease-out;
+ animation-delay: 2s;
+ opacity: 0;
+}
+
@keyframes moveInLeft {
0% {
opacity: 0;
@@ -87,3 +93,15 @@
transform: translate(0);
}
}
+
+@keyframes moveInBottom {
+ 0% {
+ opacity: 0;
+ transform: translateY(100px);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translate(0);
+ }
+}
diff --git a/src/commons/header/header.js b/src/commons/header/header.js
index b8e96fd..b9f1f64 100644
--- a/src/commons/header/header.js
+++ b/src/commons/header/header.js
@@ -13,7 +13,7 @@ function Header() {
Outdoors
is where life happens
-
+
);
diff --git a/src/components/button/button.css b/src/components/button/button.css
index 06ea388..7165d70 100644
--- a/src/components/button/button.css
+++ b/src/components/button/button.css
@@ -6,6 +6,11 @@
display: inline-block;
border-radius: 100px;
transition: all 0.2s;
+ position: relative;
+}
+
+.move-in-bottom {
+ animation: moveInBottom 1s ease-out;
}
.btn:hover {
@@ -22,3 +27,41 @@
background-color: #fff;
color: #777;
}
+
+.btn::after {
+ content: " ";
+ display: inline-block;
+ height: 100%;
+ width: 100%;
+ border-radius: 100px;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: -1;
+ transition: all 0.4s;
+}
+
+.btn-white::after {
+ background-color: white;
+}
+
+.btn:hover::after {
+ transform: scaleX(1.4) scaleY(1.6);
+ opacity: 0;
+}
+
+@keyframes moveInBottom {
+ 0% {
+ opacity: 0;
+ transform: translateY(250px);
+ }
+
+ 50% {
+ opacity: 0;
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translate(0);
+ }
+}
diff --git a/src/components/button/button.jsx b/src/components/button/button.jsx
index bbb1d7e..0b475c8 100644
--- a/src/components/button/button.jsx
+++ b/src/components/button/button.jsx
@@ -2,7 +2,14 @@ import "./button.css";
function Button(props) {
return (
-
+
{props.text}
);