Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created December 15, 2022 23:44
Show Gist options
  • Save codigoconjuan/92e013a68a9b8f164cd717ab26197c78 to your computer and use it in GitHub Desktop.
Save codigoconjuan/92e013a68a9b8f164cd717ab26197c78 to your computer and use it in GitHub Desktop.
CSS Para el Curso
.curso {
padding: 10rem 0;
margin-top: 10rem;
background-size: cover;
background-position: center center;
}
@media (min-width: 768px) {
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.contenido {
grid-column: 2 / 3;
}
}
.curso p {
text-align: center;
font-size: 2.4rem;
color: var(--white);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment