File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ html {
2
+ font-size : 14px ;
3
+ }
4
+
5
+ body {
6
+ text-align : center;
7
+ }
8
+
9
+ button {
10
+ color : # fff ;
11
+ padding : 8px 18px ;
12
+ margin : 10px ;
13
+ border-radius : 5px ;
14
+ border : none;
15
+ }
16
+
17
+ .primary-btn {
18
+ background-color : # 3498db ;
19
+ }
20
+
21
+ .secondary-btn {
22
+ background-color : # 2ecc71 ;
23
+ }
24
+
25
+ .success-btn {
26
+ background-color : # 27ae60 ;
27
+ }
28
+
29
+ .danger-btn {
30
+ background-color : # e74c3c ;
31
+ }
Original file line number Diff line number Diff line change
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
+ < title > styling buttons</ title >
7
+ < link rel ="stylesheet " href ="buttons-style.css " />
8
+ </ head >
9
+ < body >
10
+ < h1 > Botones con Diferentes Estilos</ h1 >
11
+ < div class ="button-container ">
12
+ < button class ="primary-btn "> Botón Primario</ button >
13
+ < button class ="secondary-btn "> Botón Secundario</ button >
14
+ < button class ="success-btn "> Botón de Éxito</ button >
15
+ < button class ="danger-btn "> Botón de Peligro</ button >
16
+ </ div >
17
+ </ body >
18
+ </ html >
You can’t perform that action at this time.
0 commit comments