Búsquedas
Empresa Diseño Web
Realizamos servicios de diseño web Asturias, diseño web Cantabria, Madrid, Barcelona, Valencia y a cualquier ciudad de España. Mantenemos contacto regular con nuestros clientes por teléfono o correo electrónico. Respuesta personalizada en 24 horas.
Archivo del blog
- Mayo 2012 (11)
- Marzo 2012 (7)
- Febrero 2012 (19)
- Enero 2012 (26)
- Diciembre 2011 (5)
- Octubre 2011 (2)
- Septiembre 2011 (13)
- Agosto 2011 (5)
- Julio 2011 (16)
- Junio 2011 (3)
- Mayo 2011 (10)
- Abril 2011 (22)
- Marzo 2011 (2)
- Diciembre 2010 (8)
- Noviembre 2010 (7)
- Octubre 2010 (17)
- Septiembre 2010 (19)
- Agosto 2010 (13)
- Julio 2010 (26)
- Junio 2010 (16)
- Mayo 2010 (4)
- Abril 2010 (5)
- Marzo 2010 (1)
- Febrero 2010 (3)
- Enero 2010 (5)
- Diciembre 2009 (3)
- Noviembre 2009 (7)
- Octubre 2009 (7)
- Septiembre 2009 (6)
- Agosto 2009 (10)
- Julio 2009 (3)
- Junio 2009 (2)
- Mayo 2009 (2)
- Abril 2009 (5)
- Marzo 2009 (5)
- Febrero 2009 (2)
- Enero 2009 (3)
Contacte con nosotros
Últimos tweets
- Cómo gestionar y administrar una tienda virtual online - http://t.co/vzRA5yFN More »
- JVC GY-HM 100, la nueva apuesta para vídeo HD (alta definición) de Galerna Estudio - http://t.co/v7MPGqJq More »
- Cómo diseñar catálogos de empresa originales. http://t.co/MPOqkWrW More »
Nuevos diseño gráficos de formatos de tablas CSS3
Publicado en: Diseño gráfico por Galerna Estudio el 19 Septiembre 2010
El lenguaje CSS3 permite desarrollar más el aspecto gráfico de elementos estructurales como las tablas, elementos que antes no se nos permitía implementar de una forma tan específica como aquí presentamos. A continuación mostraremos algunos ejemplos de cómo se puede implementar ciertas propiedades CSS3 para obtener tablas más atractivas en nuestros diseños de páginas web, con un estilo único y sin necesidad de agregar otras clases.
table.table1{
font-family: “Trebuchet MS”, sans-serif;
font-size: 16px;
font-weight: bold;
line-height: 1.4em;
font-style: normal;
border-collapse:separate;
}
.table1 thead th{
padding:15px;
color:#fff;
text-shadow:1px 1px 1px #568F23;
border:1px solid #93CE37;
border-bottom:3px solid #9ED929;
background-color:#9DD929;
background:-webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.02, rgb(123,192,67)),
color-stop(0.51, rgb(139,198,66)),
color-stop(0.87, rgb(158,217,41))
);
background: -moz-linear-gradient(
center bottom,
rgb(123,192,67) 2%,
rgb(139,198,66) 51%,
rgb(158,217,41) 87%
);
-webkit-border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
-moz-border-radius:5px 5px 0px 0px;
border-top-left-radius:5px;
border-top-right-radius:5px;
}
.table1 thead th:empty{
background:transparent;
border:none;
}
.table1 tbody th{
color:#fff;
text-shadow:1px 1px 1px #568F23;
background-color:#9DD929;
border:1px solid #93CE37;
border-right:3px solid #9ED929;
padding:0px 10px;
background:-webkit-gradient(
linear,
left bottom,
right top,
color-stop(0.02, rgb(158,217,41)),
color-stop(0.51, rgb(139,198,66)),
color-stop(0.87, rgb(123,192,67))
);
background: -moz-linear-gradient(
left bottom,
rgb(158,217,41) 2%,
rgb(139,198,66) 51%,
rgb(123,192,67) 87%
);
-moz-border-radius:5px 0px 0px 5px;
-webkit-border-top-left-radius:5px;
-webkit-border-bottom-left-radius:5px;
border-top-left-radius:5px;
border-bottom-left-radius:5px;
}
.table1 tfoot td{
color: #9CD009;
font-size:32px;
text-align:center;
padding:10px 0px;
text-shadow:1px 1px 1px #444;
}
.table1 tfoot th{
color:#666;
}
.table1 tbody td{
padding:10px;
text-align:center;
background-color:#DEF3CA;
border: 2px solid #E7EFE0;
-moz-border-radius:2px;
-webkit-border-radius:2px;
border-radius:2px;
color:#666;
text-shadow:1px 1px 1px #fff;
}
.table1 tbody span.check::before{
content : url(../images/check0.png)
}
/* Table 2 Style */
table.table2{
font-family: Georgia, serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
letter-spacing: -1px;
line-height: 1.2em;
border-collapse:collapse;
text-align:center;
}
.table2 thead th, .table2 tfoot td{
padding:20px 10px 40px 10px;
color:#fff;
font-size: 26px;
background-color:#222;
font-weight:normal;
border-right:1px dotted #666;
border-top:3px solid #666;
-moz-box-shadow:0px -1px 4px #000;
-webkit-box-shadow:0px -1px 4px #000;
box-shadow:0px -1px 4px #000;
text-shadow:1px 1px 1px #000;
}
.table2 tfoot th{
padding:10px;
font-size:18px;
text-transform:uppercase;
color:#888;
}
.table2 tfoot td{
font-size:36px;
color:#EF870E;
border-top:none;
border-bottom:3px solid #666;
-moz-box-shadow:0px 1px 4px #000;
-webkit-box-shadow:0px 1px 4px #000;
box-shadow:0px 1px 4px #000;
}
.table2 thead th:empty{
background:transparent;
-moz-box-shadow:none;
-webkit-box-shadow:none;
box-shadow:none;
}
.table2 thead :nth-last-child(1){
border-right:none;
}
.table2 thead :first-child,
.table2 tbody :nth-last-child(1){
border:none;
}
.table2 tbody th{
text-align:right;
padding:10px;
color:#333;
text-shadow:1px 1px 1px #ccc;
background-color:#f9f9f9;
}
.table2 tbody td{
padding:10px;
background-color:#f0f0f0;
border-right:1px dotted #999;
text-shadow:-1px 1px 1px #fff;
text-transform:uppercase;
color:#333;
}
.table2 tbody span.check::before{
content : url(../images/check1.png)
}/* Table 3 Style */
table.table3{
font-family:Arial;
font-size: 18px;
font-style: normal;
font-weight: normal;
text-transform: uppercase;
letter-spacing: -1px;
line-height: 1.7em;
text-align:center;
border-collapse:collapse;
}
.table3 thead th{
padding:6px 10px;
text-transform:uppercase;
color:#444;
font-weight:bold;
text-shadow:1px 1px 1px #fff;
border-bottom:5px solid #444;
}
.table3 thead th:empty{
background:transparent;
border:none;
}
.table3 thead :nth-child(2),
.table3 tfoot :nth-child(2){
background-color: #7FD2FF;
}
.table3 tfoot :nth-child(2){
-moz-border-radius:0px 0px 0px 5px;
-webkit-border-bottom-left-radius:5px;
border-bottom-left-radius:5px;
}
.table3 thead :nth-child(2){
-moz-border-radius:5px 0px 0px 0px;
-webkit-border-top-left-radius:5px;
border-top-left-radius:5px;
}
.table3 thead :nth-child(3),
.table3 tfoot :nth-child(3){
background-color: #45A8DF;
}
.table3 thead :nth-child(4),
.table3 tfoot :nth-child(4){
background-color: #2388BF;
}
.table3 thead :nth-child(5),
.table3 tfoot :nth-child(5){
background-color: #096A9F;
}
.table3 thead :nth-child(5){
-moz-border-radius:0px 5px 0px 0px;
-webkit-border-top-right-radius:5px;
border-top-right-radius:5px;
}
.table3 tfoot :nth-child(5){
-moz-border-radius:0px 0px 5px 0px;
-webkit-border-bottom-right-radius:5px;
border-bottom-right-radius:5px;
}
.table3 tfoot td{
font-size:38px;
font-weight:bold;
padding:15px 0px;
text-shadow:1px 1px 1px #fff;
}
.table3 tbody td{
padding:10px;
}
.table3 tbody tr:nth-child(4) td{
font-size:26px;
font-weight:bold;
}
.table3 tbody td:nth-child(even){
background-color:#444;
color:#444;
border-bottom:1px solid #444;
background:-webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.39, rgb(189,189,189)),
color-stop(0.7, rgb(224,224,224))
);
background:-moz-linear-gradient(
center bottom,
rgb(189,189,189) 39%,
rgb(224,224,224) 70%
);
text-shadow:1px 1px 1px #fff;
}
.table3 tbody td:nth-child(odd){
background-color:#555;
color:#f0f0f0;
border-bottom:1px solid #444;
background:-webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.39, rgb(85,85,85)),
color-stop(0.7, rgb(105,105,105))
);
background:-moz-linear-gradient(
center bottom,
rgb(85,85,85) 39%,
rgb(105,105,105) 70%
);
text-shadow:1px 1px 1px #000;
}
.table3 tbody td:nth-last-child(1){
border-right:1px solid #222;
}
.table3 tbody th{
color:#696969;
text-align:right;
padding:0px 10px;
border-right:1px solid #aaa;
}
.table3 tbody span.check::before{
content : url(../images/check2.png)
}
RESULTADO ::

FUENTE. http://xyberneticos.com/index.php/2010/09/10/tablas-con-css3/