<!DOCTYPE html>
<html>
<head>
<title>Botones Personalizados</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<a href="https://www.instagram.com/" target="_blank" class="button social-button">Instagram</a>
<a href="https://github.com/" target="_blank" class="button social-button">GitHub</a>
</div>
</body>
</html>
body {
font-family: 'Montserrat', sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f0f0f0;
}
.container {
display: flex; /* Usamos Flexbox para alinear horizontalmente */
gap: 20px; /* Espacio entre los botones */
}
.button {
display: inline-block;
padding: 15px 30px; /* Espaciado interno */
border: none;
border-radius: 8px; /* Bordes redondeados */
text-decoration: none; /* Elimina el subrayado de los enlaces */
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease; /* Transición suave */
}
.social-button {
background-color: #e4405f; /* Color de fondo Instagram */
color: white;
}
.social-button:hover {
background-color: #c82333; /* Color al pasar el mouse */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}
undefined