Comment faire - Ligne verticale
Apprenez à créer une ligne verticale avec CSS.
Comment créer une ligne verticale
Exemple
<style>
.vl {
border-left: 6px solid green;
height:
500px;
}
</style>
<div class="vl"></div>
Comment centrer la ligne verticale dans votre page :
Exemple
.vl {
border-left: 6px solid green;
height:
500px;
position: absolute;
left:
50%;
margin-left: -3px;
top: 0;
}