forked from M3-Academy/practice-time-landing-page
adcionar os banners principais desktop e mobile
This commit is contained in:
parent
bf6dbdc5df
commit
42b4fce68a
BIN
assets/Image/main-banner-desktop.png
Normal file
BIN
assets/Image/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/Image/main-banner-mobile.png
Normal file
BIN
assets/Image/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
@ -12,5 +12,18 @@
|
||||
}
|
||||
.Header-Logo{
|
||||
display: block;
|
||||
|
||||
|
||||
}
|
||||
.main-banner{
|
||||
width: 100%;
|
||||
}
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
23
index.html
23
index.html
@ -2,20 +2,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="Pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/assets/css/main.css">
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/assets/css/main.css"/>
|
||||
<title>M3 Landing Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="Page-Header">
|
||||
<a href="/">
|
||||
<img class="Header-Logo" src="assets/Image/m3_logo.png" alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<header class="Page-Header">
|
||||
<a href="/">
|
||||
<img class="Header-Logo" src="assets/Image/m3_logo.png" alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="/assets/Image/main-banner-desktop.png" alt="main-banner-desktop"/>
|
||||
<img class="main-banner main-banner-mobile"" src="/assets/Image/main-banner-mobile.png" alt="main-banner-mobile"/>
|
||||
</section>
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user