esercizi su css
This commit is contained in:
45
css26.html
Normal file
45
css26.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!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">
|
||||
|
||||
p {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
p span:nth-of-type(1){
|
||||
color: black;
|
||||
}
|
||||
p span:nth-of-type(2){
|
||||
color: yellow;
|
||||
}
|
||||
p span:nth-of-type(3){
|
||||
color: blue;
|
||||
}
|
||||
|
||||
p span:nth-of-type(3):hover{
|
||||
color: white;
|
||||
text-transform: lowercase;
|
||||
font-weight: bold;}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p><span>G</span> <span>i </span> <span>o</span> vanni Di Grezia</p>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user