File tree 1 file changed +17
-23
lines changed
1 file changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -73,31 +73,34 @@ cursor:default;
73
73
74
74
}
75
75
76
- /* Media Query:For Tablet Size */
77
- @media screen and (max-width : 1000px )and (min-width : 662px ){
78
- .flex-container button : active {
76
+ /* Combined media query for both mobile and tablet size */
77
+ @media screen and (max-width : 1000px )and (min-width : 662px ), screen and (max-width : 662px ){
78
+
79
+ .flex-container button : active {
79
80
transform : scale (0.98 );
80
81
}
82
+ .flex-container button {
83
+ -webkit-tap-highlight-color : transparent;
84
+ }
85
+ .flex-container button : disabled {
86
+ display : none;
87
+ }
88
+ }
81
89
82
- .header-text h1 {
90
+ /* Media Query:For Tablet Size */
91
+ @media screen and (max-width : 1000px )and (min-width : 662px ){
92
+ .header-text h1 {
83
93
font-size : 4rem ;
84
94
}
85
95
.header-text p {
86
96
font-size : 2rem ;
87
97
}
88
- .flex-container button {
89
- -webkit-tap-highlight-color : transparent;
90
- }
91
- .flex-container button : disabled {
92
- display : none;
93
- }
98
+
94
99
}
100
+
95
101
/* Media Query:For mobile size */
96
102
@media screen and (max-width : 662px ){
97
- .flex-container {
98
- height : 50vh ;
99
- }
100
- .header-text h1 {
103
+ .header-text h1 {
101
104
font-size : 3.8rem ;
102
105
line-height : 0.8 ;
103
106
}
@@ -108,13 +111,4 @@ cursor:default;
108
111
background-position : center;
109
112
background-size : cover;
110
113
}
111
- .flex-container button : active {
112
- transform : scale (0.98 );
113
- }
114
- .flex-container button : disabled {
115
- display : none;
116
- }
117
- .flex-container button {
118
- -webkit-tap-highlight-color : transparent;
119
- }
120
114
}
You can’t perform that action at this time.
0 commit comments