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

79
css13.html Normal file
View File

@@ -0,0 +1,79 @@
<!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="style.css" type="text/css" /> !-->
<style type="text/css">
body{
counter-reset: c;
}
p {
font-size: 36pt;
font-family: sans-serif;
}
p > span:nth-child(1) {
color: rgb(0,0,0)
}
p > span:nth-child(2) {
color: rgb(50,50,50)
}
p > span:nth-child(3) {
color: rgb(100,100,100)
}
p > span:nth-child(4) {
color: rgb(200,200,200)
}
</style>
</head>
<body>
<p> <span>g</span>
<span>g</span>
<span>g</span>
<span>g</span>
</p>
</body>
</html>