Skip to content
Closed
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
16 changes: 11 additions & 5 deletions EjemploDOM.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<html lang="es">
<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>Practica Javacript Prospercity</title>
<link rel="shortcut icon" href="#">
<link rel="stylesheet" href="css/estilos.css">
<link rel="stylesheet" href="./css/estilos.css">
</head>
<body>
<header>
<header class="header">
<h1>Prosper News</h1>
</header>
<section>
<nav class="slidemenu">

<!-- Item 1 -->
Expand All @@ -33,9 +39,9 @@
</div>

</nav>
</header>
</section>
<main>
<h1>Bienvenidos a las noticias</h1>
<h1 class="title-2">Bienvenidos a las noticias</h1>

<div class="container">
<section class="section-a">
Expand Down
30 changes: 25 additions & 5 deletions css/estilos.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: sans-serif;
}

.header {
padding: 0;
margin: 0;
background-color: rgba(134, 225, 119, 0.75);
height: 80px;
width: 100%;
font-size: 18px;
color: aliceblue;
line-height: 80px;
}

.clear{
Expand All @@ -24,14 +40,14 @@
text-align: center;
display: block;
float: left;
color: #333;
color: rgba(6, 1, 48, 0.75);
opacity: 0.2;

}

.slidemenu label:hover{
cursor: pointer;
color: #666;
color: rgba(6, 1, 48, 0.75);
}

.slidemenu label span{
Expand All @@ -41,7 +57,7 @@

.slidemenu label .icon{
font-size: 20px;
border: solid 2px #333;
border: solid 2px rgba(6, 1, 48, 0.75);
text-align: center;
height: 50px;
width: 50px;
Expand All @@ -65,7 +81,7 @@
.slider .bar{
width: 25%;
height: 5px;
background: #333;
background: rgba(6, 1, 48, 0.75);
border-radius: 5px;
}

Expand All @@ -88,4 +104,8 @@
.slidemenu #slide-item-2:checked ~ .slider .bar{ margin-left: 25%; }
.slidemenu #slide-item-3:checked ~ .slider .bar{ margin-left: 50%; }
.slidemenu #slide-item-4:checked ~ .slider .bar{ margin-left: 75%; }


.title-2 {
justify-content: left;
font-weight: bold;
}