File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Entregas/PruebasEntrega/hechoPorMi Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1919 color : var (--color-text );
2020}
2121
22- button {
23- background-color : var (--color-body );
24- color : var (--color-header );
25- padding : 5px 10px ;
22+ .button-buy {
23+ display : flex;
24+ justify-content : center; /* Centra horizontalmente */
25+ align-items : center; /* Centra verticalmente si es necesario */
26+ margin-top : 20px ; /* Espaciado superior opcional */
27+ width : 80% ; /* Misma anchura que la tabla */
28+ margin-left : auto;
29+ margin-right : auto;
30+ }
31+
32+ .btn002 {/* BOTON COMPRAR ITEMS */
33+ background-color : var (--color-header );
34+ color : var (--color-body );
35+ padding : 15px 50px ;
2636 border : unset;
2737 border-radius : 6px ;
2838 cursor : pointer;
39+
2940}
3041a : hover : not (carrito : hover ){
3142 color : var (--color-acento );
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ <h1>COMPRAS REALIZADAS</h1>
3434 </ Tr >
3535 </ Thead >
3636 < tbody id ="carrito-items "> </ tbody >
37- </ TABLE >
37+ </ TABLE > < BR >
38+ < DIV class ="button-buy ">
39+ < button class ="btn002 " onclick ="comprarCarrito() "> COMPRAR </ button > </ DIV >
3840 </ div >
3941
4042 </ main >
You can’t perform that action at this time.
0 commit comments