From fd8c5c5cee6f76c127fbafac731feb1a57327a3d Mon Sep 17 00:00:00 2001 From: Yan Garriga Date: Sun, 9 Oct 2022 23:38:08 -0300 Subject: [PATCH] Adiciona o primeiro banner mobile desktop --- assets/styles.css/main.css | 25 ++++++++++++++++++++++++- index.html | 5 +++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/assets/styles.css/main.css b/assets/styles.css/main.css index 9444846..7a15279 100644 --- a/assets/styles.css/main.css +++ b/assets/styles.css/main.css @@ -1,10 +1,33 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + .page-header { display: flex; justify-content: center; background: #000000; - padding: 28px 0; + padding: 29px 0; } .header-logo { display: block; } + +.main-banner { + width: 100%; + display: block; +} + +@media screen and (max-width: 414px) { + .main-banner-desktop { + display: none; + } +} + +@media screen and (min-width: 768px) { + .main-banner-mobile { + display: none; + } +} \ No newline at end of file diff --git a/index.html b/index.html index a4c2060..044668c 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,12 @@ +
+
+ Banner principal desktop + Banner principal mobile +