- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="es">
<head>
<title>Botones: parte 1</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<button class="button simple-gray">Llegar</button><br>
<button class="button strong-brown">Ver</button><br>
<button class="button glossy-blue">Vencer</button>
</body>
</html>
CSS
.simple-gray {
background-image: none;
color: #333333;
}
.strong-brown {
background-image: none;
color: #ffffff;
}
.glossy-blue {
background-image: none;
color: #ffffff;
}
.button {
display: inline-block;
margin: 20px;
padding: 20px 50px;
border-radius: 5px;
border: none;
box-shadow:
inset 0 0 0 1px rgba(0, 0, 0, 0.2),
0 1px 3px #aaaaaa;
text-align: center;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
font-size: 24px;
font-family: "Lucida Grande", "Arial", sans-serif;
line-height: 25px;
}
html,
body {
margin: 0;
padding: 0;
padding-top: 50px;
text-align: center;
}
Ha ido a otra página
ObjetivosRealizado
0
- Asigna al botón
.simple-grayun degradado de arriba hacia abajo con los colores#ffffffy#dddddd.