File tree Expand file tree Collapse file tree
Projects/Zomato-Landing-Page Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ <h1>Get the Zomato App</h1>
162162 </ div >
163163 </ div >
164164 < div class ="input-container ">
165- < input type ="text " placeholder ="Email ">
165+ < input type ="email " placeholder ="Email ">
166166 < button > Share App Link</ button >
167167 </ div >
168168 < div class ="download-app-container ">
Original file line number Diff line number Diff line change 9696}
9797
9898.we-offer {
99- display : flex;
99+ display : grid;
100+ grid-template-columns : repeat (3 , minmax (0 , 1fr ));
100101 flex-wrap : wrap;
101102 gap : 0.5rem ;
102103 align-items : center;
105106
106107.we-offer-card {
107108 border-radius : 10px ;
108- overflow : hidden;
109+ /* overflow: hidden; */
109110 border : 1px solid # e0e0e0 ;
110- transition : all 0.3sec ease;
111+ transition : all 0.3s ease;
112+ cursor : pointer;
111113}
112114
113115.we-offer-card : hover {
116118
117119.we-offer-card img {
118120 width : 100% ;
121+ border-radius : 10px 10px 0 0 ;
119122 height : 160px ;
120123 object-fit : cover;
121124 object-position : center;
122125}
126+ .we-offer-card .we-offer-content {
127+ padding : 0.5rem ;
128+ }
123129
130+ .we-offer-card .we-offer-content p : last-child {
131+ overflow : hidden;
132+ text-overflow : ellipsis;
133+ max-width : 100% ;
134+ white-space : nowrap;
135+ }
124136.we-offer-container {
125137 padding : 10px ;
126138}
451463 grid-template-columns : repeat (3 , 1fr );
452464 }
453465
466+ .we-offer {
467+ grid-template-columns : repeat (2 , minmax (0 , 1fr ));
468+ }
454469
455470
456471}
468483 grid-template-columns : repeat (1 , 1fr );
469484 }
470485
471-
472-
486+ .we-offer {
487+ grid-template-columns : repeat (1 , minmax (0 , 1fr ));
488+ }
473489}
474490
475491
You can’t perform that action at this time.
0 commit comments