• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Bootrsap justify-content-between Not Working

Kepala Suku

Web & Mobile Developer
Staff member
#1
Kode awal
HTML:
<div class="card-header justify-content-between">
  <h6 class="card-title font-weight-bold">Daftar Jasa</h6>
  <button class="btn btn-sm btn-info"><i class="fa fa-plus-square"></i> Tambah</button>
</div>
Kode yang benar atau bekerja (worked) ditambahkan class d-flex di dalam div parent.
HTML:
<div class="d-flex card-header justify-content-between">
  <h6 class="card-title font-weight-bold">Daftar Jasa</h6>
  <button class="btn btn-sm btn-info"><i class="fa fa-plus-square"></i> Tambah</button>
</div>