From ddeaa23cb5acbfb82401ca98839754d29c3420b3 Mon Sep 17 00:00:00 2001 From: zacc806 Date: Wed, 24 Jan 2024 18:55:52 +0600 Subject: [PATCH] added grid, fixed footer --- main/static/deps/css/my_footer_css.css | 2 -- main/templates/main/index.html | 26 ++++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/main/static/deps/css/my_footer_css.css b/main/static/deps/css/my_footer_css.css index dd65a2f..827db98 100644 --- a/main/static/deps/css/my_footer_css.css +++ b/main/static/deps/css/my_footer_css.css @@ -1,6 +1,4 @@ footer { - position: fixed; - bottom: 0; width: 100%; background-color: #8100bb; padding: 10px 0; diff --git a/main/templates/main/index.html b/main/templates/main/index.html index 8445494..d347a2b 100644 --- a/main/templates/main/index.html +++ b/main/templates/main/index.html @@ -63,21 +63,23 @@
{% for product in products %} -
-
- {{ -
- -

{{ product.name }}

-
-

{{ product.description }}

-
-

{{ product.price }} $

-
+
+
+
+ {{ +
+
+ +

{{ product.name }}

+
+

{{ product.description }}

+
+

{{ product.price }} $

- {% endfor %} +
+ {% endfor %}