From f9a7da670b197d221569042bfed112155ef0ba67 Mon Sep 17 00:00:00 2001 From: Joseildo Date: Sat, 8 Oct 2022 16:57:07 -0300 Subject: [PATCH] Ajustando o display desktop emobile das infoClasses --- index.html | 2 +- style.css | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 96f9139..64a153c 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.

- + diff --git a/style.css b/style.css index 3c1c1f0..e11d4f4 100644 --- a/style.css +++ b/style.css @@ -55,6 +55,7 @@ body { margin-bottom: 76px; } + @media screen and (max-width: 413px) { .primary_banner { display: none; @@ -64,10 +65,26 @@ body { width: 100%; max-width: 414px; } + + .info_image, + .info_texts { + display: flex; + flex-direction: column; + align-items: center; + } + } @media screen and (min-width:414px) { .banner_mobile { display: none; } + + .info_image, + .info_texts { + display: flex; + flex-direction: column; + align-items: center; + } + } \ No newline at end of file