diff --git a/css/index.css b/css/index.css index 663e2d7..8bf1c19 100644 --- a/css/index.css +++ b/css/index.css @@ -273,7 +273,6 @@ .banner-cont .swiper-slide .section-content .title-wrapper { display: inline-block; max-width: 650px; - width: 100%; } .banner-cont .swiper-slide h1 { @@ -284,15 +283,15 @@ letter-spacing: -1px; margin-bottom: 0; display: inline-block; - width: 100%; - background: linear-gradient(90deg, + width: auto; + background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, - rgba(255, 255, 255, 1) 25%, + rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 1) 50%, - rgba(255, 255, 255, 0.3) 75%, + rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.3) 100% ); - background-size: 200% 100%; + background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; @@ -301,10 +300,10 @@ @keyframes shine { 0% { - background-position: -200% 0; + background-position: -200% -200%; } 100% { - background-position: 200% 0; + background-position: 200% 200%; } }