Skip to content

Commit c70267f

Browse files
committed
ejercicio de animaciones
1 parent e6d4be7 commit c70267f

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
body {
2+
display: flex;
3+
justify-content: center;
4+
align-items: center;
5+
height: 100vh;
6+
}
7+
8+
.btn-modern {
9+
10+
padding: 10px 20px;
11+
border: none;
12+
border-radius: 10px;
13+
cursor: pointer;
14+
15+
}
16+
17+
.btn-modern:hover {
18+
transform: translateY(5px);
19+
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.3);
20+
background-color: #00b8f0;
21+
color: #ffffff;
22+
transition: all 0.4s;
23+
}
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="EjercicioAnimaciones.css">
7+
<title>Animaciones y transiciones en CSS</title>
8+
</head>
9+
<body>
10+
<button class="btn-modern">Boton Moderno</button>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)