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
Binary file added global_css/images/cyberpunk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions global_css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
h1 {
color: yellow;
}
h2 {
background-color: lightblue;
width: 50%;
height: 100px;
}
h3 {
color: red;
padding: 30px;
text-align: center;
}
p {
color: red;
border-style: dotted;
border-width: 7px;
}

#img-bgd {
width: 100%;
height: 50vh;
background-image: url("./images/cyberpunk.png");
}
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="es-MX">
<head>
<meta charset="UTF-8">
<title>CSS | Exercise</title>
<link rel="stylesheet" href="global_css/styles.css">
</head>
<body>
<h1 id="img-bgd">Hello, world!</h1>
<h2>This will be mi first HTML and CSS with git version control</h2>
<h3>I feel nervous</h3>

<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo ducimus aperiam consequuntur architecto, rerum, dolore expedita officiis ipsum tenetur, sequi totam temporibus assumenda nulla et. Dicta autem nemo saepe veritatis.</p>
</body>
</html>