Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ html {
);
}
.animated-text {
height: 75px;
line-height: 85px;
height: 64px;
border: 0px solid #333;
overflow: hidden;
}
Expand All @@ -53,17 +52,18 @@ html {
animation: textChange 6s ease infinite;
}

@media screen and (min-width: 1600px) {

@media screen and (min-width: 900px) {
.animated-text {
height: 114px;
line-height: 110px;
height: 95px;
line-height: 95px;
}
}

@media screen and (max-width: 750px) {
@media screen and (min-width: 1600px) {
.animated-text {
height: 50px;
line-height: 55px;
height: 130px;
line-height: 130px;
}
}

Expand All @@ -89,7 +89,7 @@ html {
}
}

@media screen and (min-width: 950px) {
@media screen and (min-width: 900px) {
@keyframes textChange {
0%,
100% {
Expand All @@ -99,16 +99,16 @@ html {
top: 0;
}
35% {
top: -88.5px;
top: -100px;
}
70% {
top: -88.5px;
top: -100px;
}
75% {
top: -180px;
top: -200px;
}
95% {
top: -180px;
top: -200px;
}
}
}
Expand All @@ -122,16 +122,16 @@ html {
top: 0;
}
35% {
top: -117px;
top: -130px;
}
70% {
top: -117px;
top: -130px;
}
75% {
top: -231.5px;
top: -260px;
}
95% {
top: -231.5px;
top: -260px;
}
}
}
2 changes: 1 addition & 1 deletion src/components/Hero/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Hero = () => {
<div className="2xl:flex-1 flex flex-col justify-center items-center md:items-start">
<h1 className="font-bold leading-[58px] text-5xl md:text-[6vw] lg:text-[6.5vw] md:text-left lg:leading-[104px] 2xl:leading-[150px]">
Dare to <br /> <span>be</span>{" "}
<div className="inline-block animated-text animated-text-lg">
<div className="inline-block animated-text animated-text-lg translate-y-6 ">
<span className="text-transparent bg-clip-text bg-gradient-to-r from-iwd-blue to-iwd-green gradient-text">
Creative!
<br />
Expand Down