Skip to content

Instantly share code, notes, and snippets.

@yesidays
Created July 18, 2012 03:01
Show Gist options
  • Save yesidays/3133869 to your computer and use it in GitHub Desktop.
Save yesidays/3133869 to your computer and use it in GitHub Desktop.
Tabla degradada
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>CSS3</title>
<style type="text/css">
body{
margin: 0;
padding: 0;
}
#main{
width: 960px;
margin: 160px auto 0 auto;
background: white;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
padding: 30px;
border: 1px solid #adaa9f;
-moz-box-shadow: 0 2px 2px #9c9c9c;
-webkit-box-shadow: 0 2px 2px #9c9c9c;
}
/*Features table------------------------------------------------------------*/
.features-table{
width: 100%;
margin: 0 auto;
border-collapse: separate;
border-spacing: 0;
text-shadow: 0 1px 0 #fff;
color: #2a2a2a;
background: #fafafa;
background-image: -moz-linear-gradient(top, #032, #eaeaea, #103); /* Firefox 3.6 */
background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #AE2258),to(#122));
font-family: Verdana,Arial,Helvetica
}
.features-table td{
height: 50px;
line-height: 50px;
padding: 0 20px;
border-bottom: 1px solid #cdcdcd;
}
.no-border td{
border-bottom: none;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
}
.col-cell{
text-align: center;
width: 150px;
font: normal 1em Verdana, Arial, Helvetica;
}
.col-cell1, .col-cell2{
background: #efefef;
background: rgba(144,144,144,0.15);
border-right: 1px solid white;
}
.col-cell3{
background: #e7f3d4;
background: rgba(184,243,85,0.3);
}
.col-cellh{
font: bold 1.3em 'trebuchet MS', 'Lucida Sans', Arial;
}
.col-cellf{
font: bold 1.4em Georgia;
}
</style>
</head>
<body>
<div id="main">
<table class="features-table">
<tr>
<td>Fila</td>
</tr>
<tr>
<td>Fila</td>
</tr>
<tr>
<td>Fila</td>
</tr>
<tr>
<td>Fila</td>
</tr>
<tr class="no-border">
<td></td>
</tr>
</table>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment