Cria o footer desktop e mobile

This commit is contained in:
Nicolas Oliveira 2022-10-07 22:51:08 -03:00
parent 18043e35af
commit f73c48c79c
5 changed files with 59 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

View File

@ -151,6 +151,31 @@ body {
} }
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
padding: 38px 0;
}
.footer-icons {
display: flex;
list-style-type: none;
margin-bottom: 16px;
}
.footer-icon {
margin: 0 8px;
}
.footer-text {
text-transform: uppercase;
line-height: 12px;
font-size: 10px;
color: #BDBDBD;
}
/* MEDIAS QUERIES */ /* MEDIAS QUERIES */
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
@ -186,6 +211,15 @@ body {
.bottom-card-description { .bottom-card-description {
font-size: 14px; font-size: 14px;
} }
.page-footer {
padding-bottom: 26px;
}
.footer-text {
max-width: 280px;
text-align: center;
}
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
@ -234,8 +268,6 @@ body {
} }
@media screen and (min-width: 769px ) and (max-width: 1200px) { @media screen and (min-width: 769px ) and (max-width: 1200px) {
.top-cards { .top-cards {
grid-template-columns: repeat(2, max-content); grid-template-columns: repeat(2, max-content);

View File

@ -89,5 +89,30 @@
</div> </div>
</section> </section>
</main> </main>
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/images/instagram-icon.png" alt="Icone do Instagram">
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/images/facebook-icon.png" alt="Icone do Facebook">
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/images/youtube-icon.png" alt="Icone do YouTube">
</a>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body> </body>
</html> </html>