Académique Documents
Professionnel Documents
Culture Documents
Groupes : INFO 15
TP 07 : CSS3 avancé (1.5 h)
Exercice1 :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Animation</title>
<link rel="stylesheet" href="anim.css"/>
</head>
<body>
<div>
<p id="premier">C'est un premier paragraphe</p>
<p id="deuxieme">C'est un deuxième paragraphe</p>
</div>
</body>
</html>
Balise Style
div Couleur de fond écran : greenyellow
Largeur :400px
Hauteur :500 px
<body>
<div id="diaporama">
<ul class="galerie">
<li><a href="#"><img src="css.png" /></a></li>
<li><a href="#"><img src="css.png" /></a></li>
<li><a href="#"><img src="css.png" /></a></li>
<li><a href="#"><img src="css.png" /></a></li>
<li><a href="#"><img src="css.png" /></a></li>
<li><a href="#"><img src="css.png" /></a></li>
</ul>
</div>
</body>
</html>
Balise Style
#diaporama Position flotante : gauche
Espacement :20px