Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
1
respuesta

lo que hicimos en el aula

CSS

@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');


* {
    padding: 0;
    margin:0;
}

body{
    height: 100vh;
    box-sizing: border-box;
    background-color: #000000;
    color: #F6F6F6;
}


.titulo-destaque {
    color: #22D4FD; ;
}

.presentacion {
    margin: 10% 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.presentacion__contenido{
    width: 615px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.presentacion__contenido__titulo{
    font-size: 36px;
    font-family: 'Krona One', sans-serif;
}

.presentacion__contenido__texto{
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
}

.presentacion__enlaces{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.presentacion__enlaces_subtitulo{
    font-family: 'Krona One', sans-serif;
    font-size: 24px;
    font-weight: 400;
}
.presentacion__enlaces__link{
    
    width: 378px;
    text-align: center;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    padding: 21.5px 0;
    text-decoration: none;
    color: #F6F6F6;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #22D4FD;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.presentacion__enlaces__link:hover{
    background-color: #272727;
}

HTML

<!DOCTYPE html>
<html lang="es-mx">
<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>Portafolio</title>
    <link rel="stylesheet" href="style.css">

</head>
<body>
    <header></header>
    <main class="presentacion">
        <section class="presentacion__contenido">
            <h1 class="presentacion__contenido__titulo">
                Eleve tu negocio digital a otro nivel 
                <strong class="titulo-destaque">con un Front-end de calidad!
                </strong></h1>
                <p class="presentacion__contenido__texto">¡Hola! Soy Ana García, 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 class="presentacion__enlaces">
                    <h2 class="presentacion__enlaces_subtitulo">Accede a mis redes:</h2>
                    <a class="presentacion__enlaces__link" href="https://instagram.com/">
                        <img src="./assets/instagram.png">Instagram</a>
                    <a class="presentacion__enlaces__link" href="https://github.com/">
                        <img src="./assets/github.png"> GitHub</a>
                </div>
               
        </section>
            <img src="./assets/Imagem.png" alt="Foto de Ana García desarrolando un proyecto">
    </main>
    <footer></footer>
</body>
</html>
1 respuesta

Ingrese aquí la descripción de esta imagen para ayudar con la accesibilidad ``` @import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');

  • { padding: 0; margin:0; }

body{ height: 100vh; box-sizing: border-box; background-color: #000000; color: #F6F6F6; }

.titulo-destaque { color: #22D4FD; ; }

.presentacion { margin: 10% 15%; display: flex; align-items: center; justify-content: space-between; }

.presentacion__contenido{ width: 615px; display: flex; flex-direction: column; gap: 40px; }

.presentacion__contenido__titulo{ font-size: 36px; font-family: 'Krona One', sans-serif; }

.presentacion__contenido__texto{ font-size: 24px; font-family: 'Montserrat', sans-serif; }

.presentacion__enlaces{ display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 32px; }

.presentacion__enlaces__subtitulo{ font-family: 'Krona One', sans-serif; font-weight: 400; font-size: 24px; }

.presentacion__enlaces__link{ /* background-color: #22D4FD; */ border: 2px solid #22D4FD; width: 378px; text-align: center; border-radius: 8px; font-size: 24px; font-weight: 600; padding: 21.5px 0; text-decoration: none; color: #F6F6F6; font-family: 'Montserrat', sans-serif; display: flex; justify-content: center; gap: 16px; } .presentacion__enlaces__link:hover{ background-color:#272727; cursor: pointer;

}