Skip to content

Commit 27f93bf

Browse files
committed
trabajando en los precios
1 parent 4156386 commit 27f93bf

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

css/main.css

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Michael Marin
44
==========================================================================*/
55

66
body{
7-
padding-top:0px;
7+
padding-top:0px;
88
padding-bottom:0px;
99
}
1010

@@ -13,25 +13,6 @@ body{
1313
padding-left: 40%;
1414
}
1515

16-
div.producto{
17-
height:430px;
18-
width: 220px;
19-
}
20-
21-
div.productoImg{
22-
height:320px;
23-
width: 200px;
24-
}
25-
26-
div.productoImg{
27-
height:300px;
28-
width: 200px;
29-
}
30-
31-
.fotoProducto{
32-
margin-left: auto;
33-
}
34-
3516
#botoneraderubros{
3617
text-align:center;
3718
}
@@ -41,6 +22,22 @@ div#logeoIdentidad{
4122
margin-left:30px;
4223
}
4324

25+
div.producto{height:430px;width: 220px;}
26+
div.productoImg{height:320px;width: 200px;}
27+
div.fotoProducto{margin-left: auto;}
28+
div.divPrecioProducto{
29+
color: white;
30+
text-shadow:0px 0px 20px rgba(0,255,0,1);
31+
background-color: red;
32+
font-size: 18px;
33+
height: 40px;
34+
width: 100px;
35+
padding-top:7px;
36+
border: 1px solid red;
37+
border-radius: 15px;
38+
39+
}
40+
4441

4542

4643
/* CSS Document for chat MICAMI

js/main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@ function cargarProductos(rubro){
110110
}
111111

112112
var divProductos = "<div class='col-xs-6 col-md-4 producto' id='producto"+vCont+"'>"
113-
+"<div class='productoImg'><img class='fotoProducto img-rounded' src='./fotos/"+valor.fotoProducto+".jpg'></div>"
113+
+"<div class='productoImg'>"
114+
+"<img class='fotoProducto img-rounded' src='./fotos/"+valor.fotoProducto+".jpg'>"
115+
+"<div class='divPrecioProducto'><p class='precio'>S/."+valor.precioProducto+"</p></div>"
116+
+"</div>"
114117
+"<div class='productoDetalles'>"
115118
//+"<div class='divNombreProducto'>"+valor.idProducto+"</div>"
116119
+"<div class='divNombreProducto'>"+valor.nombreProducto+"</div>"
117-
+"<div class='divPrecioProducto'>S/."+valor.precioProducto+"</div>"
118120
//+Ancho
119121
//+Alto
120122
//+Largo

0 commit comments

Comments
 (0)