1. 程式人生 > >Bootstrap 按鈕顏色

Bootstrap 按鈕顏色

white splay com bootstrap ddl cursor eight spa adding

技術分享圖片

上述按鈕CSS規則

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

  

上述按鈕CSS顏色對應樣式依次為

#FFFFFF
#428BCA
#5CB85C
#5BC0DE
#F0AD4E
#D9534F

未完待續......

Bootstrap 按鈕顏色