esercizi su css

This commit is contained in:
2014-10-19 14:18:41 +02:00
parent e9628eafd7
commit a4330c4a82
23 changed files with 1261 additions and 0 deletions

54
css24.html Normal file
View File

@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta name="author" content="xgiovio"/>
<meta name="description" content="A simple test page"/>
<meta name="keywords" content="Ormai google non se le fila piu"/>
<meta name ="robots" content="index"/>
<meta charset="utf-8"/>
<!-- <link rel="stylesheet" href="css18.css" type="text/css" /> -->
<style type="text/css">
#qwerty tr:nth-of-type(even){
background-color: green;
color: white;
}
#qwerty tr:nth-of-type(odd){
background-color: black;
color: yellow;
}
#qwerty tr:nth-of-type(1){
background-color: red;
color: green;
}
</style>
</head>
<body>
<table id="qwerty">
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
<tr><td>asdsda</td></tr>
</table>
</body>
</html>