11
11
<!-- Main Title -->
12
12
<div class =" sec-title-wrapper " >
13
13
<h2 class =" sec-sub-title " >UAE #1</h2 >
14
- <h3 class =" sec-title main-titlee title-anim shin-anim" >Digital Marketing Agency<br >
15
- Create Business Everyday</h3 >
14
+ <div class =" title" >
15
+ <h3 class =" sec-title main-titlee title-anim" >Digital Marketing Agency</h3 >
16
+ <h3 class =" sec-title main-titlee title-anim" >Create Business Everyday</h3 >
17
+ </div >
18
+
16
19
</div >
17
20
18
21
19
22
<!-- ends Title -->
20
23
<div class =" hero__text-3" >
21
- <p class =" animation__word_come" >Static and dynamic secure code review can prevent a day before your
22
- product is even released. We
23
- can integrate with your dev environment</p >
24
+ <p class =" animation__word_come para-text" >Static and dynamic secure code review can prevent a day before your
25
+ product is even released. We can integrate with your dev environment</p >
24
26
</div >
25
27
<div class =" scroll-down" >
26
28
<button ><img src =" @/assets/imgs/icon/arrow-down-sm.png" alt =" arrow icon" ></button >
118
120
}
119
121
/* text anim */
120
122
121
- .shin-anim {
122
- color : hsl (0 , 0% , 28% );
123
- font-size : 60px ;
124
- font-weight : bold ;
125
- font-family : monospace ;
126
- letter-spacing : 7px ;
127
- cursor : pointer ;
128
- /* text-transform: uppercase; */
123
+
124
+
125
+ .title {
126
+ display : flex ;
127
+ flex-direction : column ;
128
+ align-items : center ;
129
+ }
130
+
131
+ .title h3 {
132
+ font-size : 40px ;
133
+ text-align : center ;
134
+ opacity : 0 ;
135
+ transform : translateX (100% );
136
+ animation : title-animation 2s ease-in-out ;
137
+ animation-fill-mode : forwards ;
129
138
}
130
139
131
- .shin-anim {
132
- /* padding: 64px; */
133
- background : linear-gradient (to right , hsl (0 , 0% , 30% ) 0 , hsl (0 , 0% , 100% ) 10% , hsl (0 , 0% , 30% ) 20% , hsl (0 , 0% , 30% ) 0 );
134
- -webkit-background-clip : text ;
135
- -webkit-text-fill-color : transparent ;
136
- animation : shine 4s infinite linear ;
140
+ .title h3 :nth-child (2 ) {
141
+ animation-delay : 2s ;
137
142
}
138
143
139
- @keyframes shine {
144
+ @keyframes title-animation {
140
145
0% {
141
- background-position : 0 ;
146
+ opacity : 0 ;
147
+ transform : translateX (100% );
142
148
}
143
-
144
- 60% {
145
- background-position : 600px ;
146
- }
147
-
148
149
100% {
149
- background-position : 900px ;
150
+ opacity : 1 ;
151
+ transform : translateX (0 );
150
152
}
151
153
}
152
- @media screen and (max-width : 740px ){
153
- .shin-anim {
154
- animation :none ;
155
- -webkit-text-fill-color :rgb (67 , 64 , 64 );
156
- }
154
+
155
+ .para-text {
156
+ /* font-size:20px; */
157
+ /* text-align:center; */
158
+ opacity :0 ;
159
+ transform : translateX (100% );
160
+ animation : title-animation 2s ease-in-out ;
161
+ animation-fill-mode : forwards ;
162
+ animation-delay : 3s ;
157
163
}
158
164
</style >
0 commit comments