1
respuesta

Parte 3.06 - Estilizacion de recetas

/*** /css/recetas.css ***/
body {
    font-family: Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

ul, li {
    padding: 0;
}

/*** /recetas/recetas.css ***/
.receta{
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
    margin-right: 5rem;
    width: calc(25% - 5rem);
}

.receta__imagen{
    height: 200px;
}

/*** /recetas/recetas-titulo.css ***/
.receta__titulo{
    font-size: 1.4375rem;
}

/*** recetas/recetas-descripcion.css ***/
.receta__descripcion{
    font-size: 1.1875rem;
    line-height: 1.5;
    text-align: justify;
}

.receta__contenido{
    padding: 1rem;
}

/*** recetas/recetas-boton.css ***/
.receta__boton{
    background: #8d0606;
    border: none;
    border-radius: 5px;
    color: #fdfdfd;
    padding:  1rem;
}
1 respuesta

Hola Alexei

Gracias por compartir tu código, está muy bien felicitaciones.

Si tienes alguna pregunta sobre el contenido de los cursos, estaremos aquí para ayudarte.

Si este post te ayudó, por favor, marca como solucionado ✓. Continúa con tus estudios