Bonsoir
je réalise une page comportant un titre
le probleme est que je desire appliquer la meme taille au titre
que constitue "the house that yauch built"
mon html:
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <div class="text"> <h1> <span class="line"></span> <span class="text0">the house</span> that yauch <span class="text0"> built </span> </h1> <p> <span class="yellow">oscilloscope laboratories</span> has three divisions <br> it is like a three-headed dragon.Explore our studio content. </p> </div>
mon CSS:
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 h1 { font-size: 4em; text-transform: capitalize; font-family: verdana; } .text0{ display: block; font-size: .2em; }
mon résultat:
Merci d'avance.
Partager