index.html
<!DOCTYPE html>
<html lang="en-co">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portafolio</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header></header>
<main>
<div class="con-titulo">
<div class="titulo">
<h1>Eleva tu negocio digital a otro nivel <strong> con un Front - end de calidad!</strong> </h1>
</div>
</div>
<div>
<p>
<strong class="Nombre">Hola! Soy Ana García, </strong> desarrolladora Front-end con especialización en
React, HTML y CSS. Ayudo a pequeños
negocios y diseñadores a llevar a cabo buenas ideas. ¿Hablamos?
</p>
</div>
<div class="con-img">
<img src="Imagem.png" alt="Imagen de Ana Garcia trabajando">
</div>
<div>
<a href="https://www.instagram.com">Instagram</a>
<a href="https://www.GitHub.com">GitHub</a>
</div>
</main>
<footer></footer>
</body>
</html>
style.css
body {
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
h1 {
font-size: 300%;
text-align: center;
}
p{
font-size: 140%;
}
img{
width: 20%;
}
.con-img{
display: flex;
justify-content: center;
}
strong {
color: #a8babe
}
.con-titulo {
margin: 2% 5% 2% 5%;
}
.titulo {
background-color: rgb(209, 81, 81);
justify-content: center;
display: flex;
}
.Nombre{
color: rgb(91, 219, 130);
}
a {
display: inline-block;
background-color: #007bff; /* Color de fondo */
color: #fff; /* Color del texto */
text-decoration: none; /* Quita el subrayado del enlace */
padding: 10px 20px; /* Espacio interno del botón */
border-radius: 5px; /* Bordes redondeados */
transition: background-color 2s ease; /* Transición suave al pasar el mouse */
}
a:hover {
background-color: #e0e5eb; /* Color de fondo al pasar el mouse */
}