esercizi su css
This commit is contained in:
41
css7.html
Normal file
41
css7.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!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">
|
||||
|
||||
p > span {
|
||||
|
||||
background-color: #663300;
|
||||
color:yellow;
|
||||
|
||||
|
||||
}
|
||||
|
||||
p:nth-child(4)>span:nth-child(1){
|
||||
color: black;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<p> ciao <span>mondo!!!</span></p>
|
||||
<p> ciao <span>mondo!!!</span></p>
|
||||
<p> ciao <span>mondo!!!</span></p>
|
||||
<p> ciao <span>mondo!!!</span></p>
|
||||
|
||||
<span>gino</span>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user