From 0944037b7e24cd4d0f4e260b4d606a1266a1de9f Mon Sep 17 00:00:00 2001 From: Gabriel Lehmann Date: Tue, 11 Oct 2022 11:29:40 -0300 Subject: [PATCH] feat added top-cards --- assets/coin 1.svg | 6 ++++++ assets/shop 1.svg | 13 +++++++++++++ assets/shopping-bag (1) 1.svg | 12 ++++++++++++ index.html | 23 ++++++++++++++++++++++ style.css | 36 ++++++++++++++++++++++++++++++++++- 5 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 assets/coin 1.svg create mode 100644 assets/shop 1.svg create mode 100644 assets/shopping-bag (1) 1.svg diff --git a/assets/coin 1.svg b/assets/coin 1.svg new file mode 100644 index 0000000..ea11a3d --- /dev/null +++ b/assets/coin 1.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/shop 1.svg b/assets/shop 1.svg new file mode 100644 index 0000000..be82592 --- /dev/null +++ b/assets/shop 1.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/shopping-bag (1) 1.svg b/assets/shopping-bag (1) 1.svg new file mode 100644 index 0000000..d330029 --- /dev/null +++ b/assets/shopping-bag (1) 1.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/index.html b/index.html index fa4465a..4e9c133 100644 --- a/index.html +++ b/index.html @@ -36,5 +36,28 @@ desenho de tres computadores +
+
+ desenho loja +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ desenho sacola de compra +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ desenho mao com moeda +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
\ No newline at end of file diff --git a/style.css b/style.css index faf421a..b2b50ab 100644 --- a/style.css +++ b/style.css @@ -8,7 +8,7 @@ body{ font-family: 'Inter', sans-serif; } -/* header com logo */ +/* header */ header{ background-color: black; @@ -63,6 +63,31 @@ header{ margin: 0 auto; } +/* top cards */ + +.top-cards{ + display: flex; + align-items: center; + justify-content: center; + padding: 74px 0; + gap: 20px; +} + +.top-cards-box{ + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: min(350px,90vw); + min-height: 288px; + padding: 26px; + gap: 30px; +} + +.top-cards-box p{ + text-align: center; +} /* Banner pincipal mobile */ @@ -76,6 +101,8 @@ header{ width: 100%; } +/* info section mobile */ + .info-section h2{ max-width: unset; font-size: 20px; @@ -94,4 +121,11 @@ header{ line-height: 24px; text-align: center; } + +/* top card mobile */ + + .top-cards{ + flex-direction: column; + } + } \ No newline at end of file