feat: create main banner and responsive #3

Merged
HenriqueSantosSantana merged 1 commits from feature/main-banner into develop 2022-10-09 08:00:25 +00:00
3 changed files with 40 additions and 0 deletions
Showing only changes of commit 0bef7b966b - Show all commits

View File

@ -18,6 +18,14 @@
display: flex;
}
/*-------------*\
= MAIN BANNER =
\*-------------*/
.main-banner-image {
width: 100%;
height: auto;
}
/*CUBE CSS styles*/
/*-------*\
@ -25,4 +33,24 @@
\*-------*/
.bg-clr-black {
background-color: var(--bg-clr-black);
}
@media only screen and (max-width: 1024px) {
.image-mobile {
display: flex;
}
.image-desktop {
display: none;
}
}
@media only screen and (min-width: 1025px) {
.image-mobile {
display: none;
}
.image-desktop {
display: flex;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -29,6 +29,18 @@
</header>
<!--=============== Main Banner ===============-->
<figure class="main-banner">
<img
class="main-banner-image image-desktop"
src="./assets/images/main-banner-desktop.jpg"
alt="Um desktop aberto em um software de ambiente de desenvolvimento"
/>
<img
class="main-banner-image image-mobile"
src="./assets/images/main-banner-mobile.jpg"
alt="Um desktop aberto em um software de ambiente de desenvolvimento"
/>
</figure>
<!--=============== Information ===============-->