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
17 changes: 17 additions & 0 deletions 00-HTML-CSS-basics/Respuestas.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
2.3 How could you add weight to the global font definition to win over the classes added by point 3?

To add something global you have to use
*{
*code to modify
}

In this case, the code to modify would be font-size: *numer* px;

----------------------------------------------------------------------------------------------------------------------
Imagine there is a declaration like class=�oh-no-inline-styles� style=�background:red� and you need to change the background to green without changing the inline style. How could you accomplish this?

I would use the following code

.oh-no-inline-styles{
background-color: green !important;
}
39 changes: 39 additions & 0 deletions 00-HTML-CSS-basics/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Esta es la prueba los metatags en el bootcamp pero en el topic 0">
<meta name="keywords" content="html, bootcamp, practica, cosas, globant">
<title>List</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="main.js"></script>
</head>
<body>
<header>
My Todo List
</header>
<h1>Cosas para hacer</h1>
<ul>
<li>Desayunar</li>
<li>Hacer compras</li>
<li>Programar</li>
<li>Ensayar</li>
<li>Ordenar</li>
</ul>
<form>
<input type="text" placeholder="Nombre" name="nombre" required><br>
<input type="text" placeholder="Apellido" name="apellido" required><br>
<input type="email" placeholder="Email" name="email"><br>
<input type="date" required>
<select name="dropdown" class="dropdown-menu">
<option value="futbol">futbol</option>
<option value="handball">handball</option>
<option value="baskey">basket</option>
</select><br>
<textarea name="descripcion" cols="30" rows="10" placeholder="Describase brevemente"></textarea><br>
<button>Aceptar</button> <button type="reset">Reiniciar</button>
</form>
</body>
</html>
110 changes: 110 additions & 0 deletions 00-HTML-CSS-basics/css/mockup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
html {
box-sizing: border-box;
font-size: 30;
font-family: 'Times New Roman', Times, serif;
}
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* Small screens (default) */
html { font-size: 100%; }

/* Medium screens (640px) */
@media (min-width: 40rem) {
html { font-size: 112%; }
}

/* Large screens (1024px) */
@media (min-width: 64rem) {
html { font-size: 120%; }
}

.container {
margin: 0 auto;
max-width: 1600px;
width: 80%;
}
.imagen {
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
}
.elemento {
background-color: white;
border: 2px;
opacity: 1;
position: relative;
}
.columna {
float: left;
padding-left: 1rem;
padding-right: 1rem;
}
.columna.columna-2 {
width: 66.7%;
}
.columna.columna-1 {
width: 33.3%;
}
.elemento .descripcion {
background-color: grey;
color: white;
height: 20%;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
position: absolute;
text-align: center;
top: 0;
vertical-align: middle;
width: 90%;
margin-left: 5%;
}

.elemento:hover .descripcion {
background-color: grey;
background-color: darkslategrey;
opacity: 0.9;
}

.cuerpo:before,
.cuerpo:after {
content: " ";
display: table;
}

.cuerpo:after {
clear: both;
}

.cuerpo {
*zoom: 1;
}
@media all and (max-width: 700){

.elemento {
width: 100%;
}

}

@media all and (max-width: 1080px) and (min-width: 700px) {

.elemento {
width: 50%;
}

}

@media all and (min-width: 1080px) {

.elemento {
width: 33%;
}

}
Loading