berkemert commited on
Commit
d90af23
·
verified ·
1 Parent(s): 4422b66

şimdi bu son eklediklerini css ile altta yatay olarak düzelt

Browse files
Files changed (2) hide show
  1. shop-with-us.html +2 -3
  2. style.css +28 -0
shop-with-us.html CHANGED
@@ -31,9 +31,8 @@
31
  <div class="max-w-4xl mx-auto mb-16">
32
  <h2 class="text-2xl font-bold text-primary mb-6">Popular Stores We Work With</h2>
33
  <p class="text-lg text-gray-700 mb-8">Shop from these popular international retailers and ship to our warehouses for consolidation and delivery to Qatar.</p>
34
-
35
- <div class="grid sm:grid-cols-2 md:grid-cols-3 gap-6">
36
- <a href="#" class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition duration-300 border border-gray-100 flex flex-col items-center">
37
  <img src="http://static.photos/retail/200x200/1" alt="Amazon" class="h-16 w-16 object-contain mb-4">
38
  <h3 class="text-lg font-bold text-center text-primary">Amazon</h3>
39
  <p class="text-sm text-gray-500 mt-1 text-center">USA, UK, UAE</p>
 
31
  <div class="max-w-4xl mx-auto mb-16">
32
  <h2 class="text-2xl font-bold text-primary mb-6">Popular Stores We Work With</h2>
33
  <p class="text-lg text-gray-700 mb-8">Shop from these popular international retailers and ship to our warehouses for consolidation and delivery to Qatar.</p>
34
+ <div class="shop-with-us grid">
35
+ <a href="#" class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition duration-300 border border-gray-100 flex flex-col items-center">
 
36
  <img src="http://static.photos/retail/200x200/1" alt="Amazon" class="h-16 w-16 object-contain mb-4">
37
  <h3 class="text-lg font-bold text-center text-primary">Amazon</h3>
38
  <p class="text-sm text-gray-500 mt-1 text-center">USA, UK, UAE</p>
style.css CHANGED
@@ -1,3 +1,4 @@
 
1
  /* Custom CSS for BavulumKatar'da */
2
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
3
 
@@ -6,6 +7,33 @@ body {
6
  line-height: 1.6;
7
  }
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  /* Custom animations */
10
  @keyframes fadeIn {
11
  from { opacity: 0; transform: translateY(20px); }
 
1
+
2
  /* Custom CSS for BavulumKatar'da */
3
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
4
 
 
7
  line-height: 1.6;
8
  }
9
 
10
+ /* Horizontal layout for store cards */
11
+ .shop-with-us .grid {
12
+ display: flex;
13
+ flex-wrap: wrap;
14
+ justify-content: center;
15
+ gap: 1.5rem;
16
+ }
17
+
18
+ .shop-with-us .grid > * {
19
+ flex: 1 1 200px;
20
+ max-width: 250px;
21
+ }
22
+
23
+ @media (max-width: 768px) {
24
+ .shop-with-us .grid {
25
+ flex-direction: row;
26
+ overflow-x: auto;
27
+ padding-bottom: 1rem;
28
+ -webkit-overflow-scrolling: touch;
29
+ scroll-snap-type: x mandatory;
30
+ }
31
+
32
+ .shop-with-us .grid > * {
33
+ flex: 0 0 80%;
34
+ scroll-snap-align: start;
35
+ }
36
+ }
37
  /* Custom animations */
38
  @keyframes fadeIn {
39
  from { opacity: 0; transform: translateY(20px); }