หน้า 1 จากทั้งหมด 1

การทำ Button Groups โดยใช้ bootstap

โพสต์แล้ว: 04/12/2017 3:48 pm
โดย chavikat.p

โค้ด: เลือกทั้งหมด


<div class="btn-group">
  <button type="button" class="btn btn-primary">Sony</button>
  <button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <div class="dropdown-menu">
    <a class="dropdown-item" href="#">Tablet</a>
    <a class="dropdown-item" href="#">Smartphone</a>
  </div>
</div>

2017-12-04_15-48-09.png
2017-12-04_15-48-09.png (4.93 KiB) Viewed 1783 times
2017-12-04_15-48-22.png
2017-12-04_15-48-22.png (8.89 KiB) Viewed 1783 times