File tree 2 files changed +48
-7
lines changed
2 files changed +48
-7
lines changed Original file line number Diff line number Diff line change 42
42
< label for =""> Write your message</ label >
43
43
</ div >
44
44
</ div >
45
- < div class ="form-row submit-btn ">
46
- < div class ="input-data ">
47
- < div class ="inner "> </ div >
48
- < input type ="submit " value ="submit ">
49
- </ div >
50
- </ div >
45
+
46
+
47
+
48
+ < button class ="custom-btn btn-8 "> Submit</ button >
49
+
51
50
</ form >
52
51
</ div >
53
52
</ body >
Original file line number Diff line number Diff line change @@ -125,7 +125,49 @@ form .form-row .textarea{
125
125
cursor : pointer;
126
126
position : relative;
127
127
z-index : 2 ;
128
- }
128
+
129
+ }
130
+ .btn-8 {
131
+ line-height : 40px ;
132
+ padding : 0 ;
133
+ background : transparent;
134
+ position : relative;
135
+ z-index : 2 ;
136
+ color : # fff ;
137
+ -webkit-perspective : 300px ;
138
+ perspective : 300px ;
139
+ -webkit-transform-style : preserve-3d;
140
+ transform-style : preserve-3d;
141
+ width : 40% ;
142
+ left : 200px ;
143
+
144
+
145
+ }
146
+
147
+ .btn-8 : hover {
148
+ color : rgb (152 , 127 , 197 );
149
+ }
150
+ .btn-8 : after {
151
+ position : absolute;
152
+ content : "" ;
153
+ top : 0 ;
154
+ left : 0 ;
155
+ width : 100% ;
156
+ height : 100% ;
157
+ background : rgb (107 , 110 , 240 );
158
+ z-index : -1 ;
159
+ -webkit-transform-origin : center bottom;
160
+ transform-origin : center bottom;
161
+ -webkit-transform : rotateX (0 );
162
+ transform : rotateX (0 );
163
+ transition : all 0.3s ease;
164
+ }
165
+ .btn-8 : hover : after {
166
+ -webkit-transform : rotateX (-180deg );
167
+ transform : rotateX (-180deg );
168
+ }
169
+
170
+
129
171
@media (max-width : 700px ) {
130
172
.container .text {
131
173
font-size : 30px ;
You can’t perform that action at this time.
0 commit comments