Tarjeta personal
Cree una tarjeta personal con mi memoji y algunos datos
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mauricio Lozano Zarate</title>
<style>
section{
width: 100%;
display: flex;
justify-content: center
}
.card{
width: 300px;
height: 350px;
background: papayawhip;
border-radius: 20px;
overflow: hidden;
}
.card img{
width: 100%;
}
.card .profile-picture{
width: 100px;
height: 100px;
left: 50%;
top: 100px;
transform: translate(-50%);
position: absolute;
background: white;
border-radius: 50%;
border: 4px solid black;
}
.card h3{
margin-top: 30px;
}
.card p, h3{
text-align: center;
}
</style>
</head>
<body>
<section>
<div class="card">
<img src="https://images.pexels.com/photos/380769/pexels-photo-380769.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" alt="">
<div class="profile-picture">
<img src="/Image.png" alt="profile-picture">
</div>
<h3>Mauricio Lozano Zarate</h3>
<p>Frontend Developer</p>
<p>Monterrey, México</p>
</div>
</section>
</body>
</html>```
Curso de Frontend Developer
0 Comentarios
para escribir tu comentario