silvermental
(usa Lubuntu)
Enviado em 13/10/2024 - 19:50h
HTML:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Estilos/style.css">
<title>Projeto Social</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<main>
<section id="telefone">
<iframe src="home.html" frameborder="0" id="tela"></iframe>
</section>
<section id="redes-sociais">
<a href="#" target="tela"><img src="imagens/logo-home.jpg" alt=""></a> <br>
<a href="instagram.html" target="tela"><img src="imagens/logo-instagram.jpg" alt="instagram"></a> <br>
<a href="Twitter.html" target="tela"><img src="imagens/logo-twitter.jpg" alt="twitter"></a> <br>
<a href="youtube.html" target="tela"><img src="imagens/logo-youtube.jpg" alt="youtube"></a> <br>
<a href="#" target="tela"><img src="imagens/logo-facebook.jpg" alt="facebook"></a> <br>
<a href="github.html" target="tela"><img src="imagens/logo-github.jpg" alt="github"></a> <br>
</section>
</main>
</body>
</html>
CSS:
@charset "UTF-8";
body {
background: url('../imagens/fundo-madeira.jpg') no-repeat top center;
background-size: cover;
background-attachment: fixed;
}
* {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
}
html,body {
height: 100vh;
width: 100vw;
background-color: black;
}
main {
height: 100vh;
position: relative;
}
section#telefone {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 627px;
width: 310px;
background: url('../imagens/frame-iphone.png') no-repeat;
}
iframe#tela {
position: relative;
top: 80px;
left: 22px;
width: 267px;
height: 471px;
}
section#redes-sociais img {
width: 50px;
margin: 10px;
border-radius: 50%;
box-shadow: 2px 2px 5px rgb(0, 0, 0);
}
section#redes-sociais {
text-align: right;
}
section#redes-sociais img:hover {
border: 2px solid rgba(255, 255, 255, 0.685);
transform: translate(-3px -3px);
box-shadow: 5px 5px 10px black;
transition: transform .3s,;
}