esercizi su css
This commit is contained in:
79
css13.html
Normal file
79
css13.html
Normal 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>
|
||||
Reference in New Issue
Block a user