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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
Binary file added fondo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<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>CSS Basics | IHV</title>
<link rel="stylesheet" href="./style.css"/>
</head>
<body>
<h1>Mi primera página web</h1>
<h2>Es la primera vez que ocupo HTML</h2>
<h3>Es complicado pero necesario de aprender</h3>
<p>Mi nombre es Israel Hernández Vázquez</p>
<p>Vamos a inicir con CSS_BASICS... ¡ Mi primer Hola Mundo en HTML!</p>

</body>
</html>
24 changes: 24 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
p, h3{
color: red;
}

h2{
height: 100px;
width: 50%;
background-color: lightblue;
}

h1 {
background-image: url("./fondo.jpg");
color: yellow;
}

p{
border-width: 7px;
border-style: dotted;
}

h3{
padding: 30px;
margin: 1em 35%
}