forked from M3-Academy/practice-time-landing-page
Adiciona os banners principais - Desktop e Mobile
Corrige pequenos erros de digitação no código
This commit is contained in:
parent
88dc162312
commit
45bd0752b4
BIN
assets/images/main-banner-desktop.png
Normal file
BIN
assets/images/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/main-banner-mobile.png
Normal file
BIN
assets/images/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 331 KiB |
@ -14,3 +14,19 @@
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:1025px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
19
index.html
19
index.html
@ -8,14 +8,25 @@
|
||||
|
||||
<title>M3 Landing Page</title>
|
||||
|
||||
<link rel="stylesheet" href="assets/styles/main.css"/>
|
||||
<link rel="stylesheet" href="./assets/styles/main.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="index.html">
|
||||
<img class="header-logo" src="assets/images/M3-logo.png" alt="Logo M3"/>
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/images/M3-logo.png" alt="Logo M3"/>
|
||||
</a>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div>
|
||||
<figure>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
|
||||
</figure>
|
||||
<figure>
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user