Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@ puedan verificar

## Recursos extras

- [CSS Reference from MDN](https://developer.mozilla.org/en-US/docs/Web/CSS)
- [CSS Reference from MDN](https://developer.mozilla.org/en-US/docs/Web/CSS)






- Establece cualquier imagen como fondo para h1.
- Establece un borde punteado de 7 px alrededor de todos los párrafos.
- .Establece el relleno de h3 a 30px.
- Usa el margen para alinear al centro la etiqueta h3.
30 changes: 30 additions & 0 deletions estilos.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
p{
color:red;
}
h3{
color: red;
padding-top: 30px;
padding-bottom: 30px;
padding-left: 30px;
padding-right: 30px;
margin-left: 50%;
margin-right: 50%;
}
h2{
background-color: skyblue;
font-size: 100px;
width: 50%;
}
h1{
color: yellow;
}
.imageBackground{
background-image: url(https://i.pinimg.com/originals/c3/cd/fe/c3cdfe82c8b89c84409e063b310e8c41.jpg);
}
.box{
border: dotted;
margin-top: 7px;
margin-bottom: 7px;
margin-left: 7px;
margin-right: 7px;
}
21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="es-MX">
<head>
<meta charset="UTF-8"/>
<title>EJERCICIO 1 HTML Y CSS | Vicks</title>
<link href="estilos.css" rel="stylesheet" type="text/css">

</head>
<body>
<div class="imageBackground">
<h1>H1 EJERCICIO 1 </h1>
</div>
<h2>H2 Etiqueta con h2</h2>
<h3>H3 Etiqueta con h3</h3>
<div class="box">
<p class>Esta es una etiqueta de parrafo &lt;p&gt; </p>
<p class> Esta es otra etiqueta de parrafo &lt;p&gt; </p>
</div>
</body>

</html>