in English
Vɛtikal lɔ we de na di wɔl
Yuz di kɔstɔm vertikal rul ɛlda fɔ mek vertikal divayda dɛn lɛk di <hr>
ɛlimɛnt.
Na dis pej
Aw i de wok
Vɛtikal lɔ dɛn na di <hr>
ɛlimɛnt inspɛkt, we de alaw yu fɔ mek vertikal divayda dɛn na kɔmɔn layout dɛn. Dɛn stayl jɔs lɛk <hr>
ɛlimɛnt dɛn:
- Dɛn dɔn
1px
wayd - Dem get
min-height
of1em
- Dɛn kala de sɛt via
currentColor
ɛnopacity
Kastamayz dɛn wit ɔda stayl dɛn as nid de.
Ɛgzampul
<div class="vr"></div>
Vɛtikal lɔ dɛn skel dɛn ayt insay fleks layout dɛn:
<div class="d-flex" style="height: 200px;">
<div class="vr"></div>
</div>
Wit stak dɛn
Dɛn kin yuz dɛn bak na stak dɛn :
Fɔs tin we dɛn de tɔk bɔt
Sɛkɔn tin
Tɔd tin we de na di tɔd
<div class="hstack gap-3">
<div class="bg-light border">First item</div>
<div class="bg-light border ms-auto">Second item</div>
<div class="vr"></div>
<div class="bg-light border">Third item</div>
</div>