From 0f329955044e4ecbd8ebfd31c1dc2a91bbe5b319 Mon Sep 17 00:00:00 2001 From: Gabriel Bernardini Date: Thu, 13 Oct 2022 18:28:48 -0300 Subject: [PATCH] feat:adiciona segundo infocard desktop e mobile --- assets/imagem/icon-loja.svg | 13 ++++++++++++ assets/imagem/icon-moeda.svg | 6 ++++++ assets/imagem/icon-sacola.svg | 12 +++++++++++ assets/style/main.css | 39 +++++++++++++++++++++++++++++++++++ index.html | 26 +++++++++++++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 assets/imagem/icon-loja.svg create mode 100644 assets/imagem/icon-moeda.svg create mode 100644 assets/imagem/icon-sacola.svg diff --git a/assets/imagem/icon-loja.svg b/assets/imagem/icon-loja.svg new file mode 100644 index 0000000..be82592 --- /dev/null +++ b/assets/imagem/icon-loja.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/imagem/icon-moeda.svg b/assets/imagem/icon-moeda.svg new file mode 100644 index 0000000..ea11a3d --- /dev/null +++ b/assets/imagem/icon-moeda.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/imagem/icon-sacola.svg b/assets/imagem/icon-sacola.svg new file mode 100644 index 0000000..d330029 --- /dev/null +++ b/assets/imagem/icon-sacola.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/style/main.css b/assets/style/main.css index 819de5a..72d1e4b 100644 --- a/assets/style/main.css +++ b/assets/style/main.css @@ -67,6 +67,40 @@ body { margin-bottom: 180px; } +.second-infocard { + display: grid; + justify-content: center; + grid-template-columns: repeat(3,350px); + gap: 22px; +} + +.second-infocard-middle { + width: 350px; + height: 288px; + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.second-infocard-image { + margin: 0 auto; + display: block; + padding-top: 36px; +} + +.second-infocard-text { + font-size: 16px; + line-height: 24px; + text-align: center; + padding: 26px; +} + +@media screen and (min-width: 769px) and (max-width: 1270px) { + + .second-infocard { + grid-template-columns: repeat(2, 350px); + } +} + @media screen and (max-width: 768px) { .first-infocard-title { font-size: 28px; @@ -87,6 +121,11 @@ body { max-height: 239px; margin-bottom: 90px; } + + .second-infocard { + grid-template-columns: 350px; + } + } @media screen and (max-width: 415px) { diff --git a/index.html b/index.html index 9740b14..40cdbe2 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,32 @@ 3 computadores compartilhando informações + + +
+
+ Icone de loja +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Icone de sacola +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Icone de moeda +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+
+ + \ No newline at end of file