forked from M3-Academy/practice-time-landing-page
Cria o footer desktop e mobile
This commit is contained in:
parent
18043e35af
commit
f73c48c79c
BIN
assets/images/facebook-icon.png
Normal file
BIN
assets/images/facebook-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 287 B |
BIN
assets/images/instagram-icon.png
Normal file
BIN
assets/images/instagram-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 492 B |
BIN
assets/images/youtube-icon.png
Normal file
BIN
assets/images/youtube-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 351 B |
@ -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 */
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
@ -186,6 +211,15 @@ body {
|
||||
.bottom-card-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.page-footer {
|
||||
padding-bottom: 26px;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
max-width: 280px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
@ -234,8 +268,6 @@ body {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@media screen and (min-width: 769px ) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
|
25
index.html
25
index.html
@ -89,5 +89,30 @@
|
||||
</div>
|
||||
</section>
|
||||
</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>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user