CSS定义颜色

htmlheadlink rel = stylesheet href = https://cdnjs.cloudflare.com/ajax/libs/bttn.css/0.2.4/bttn.css

编程学习网为您整理以下代码实例,主要实现:CSS定义颜色,希望可以帮到各位朋友。

<HTML>
   <head>
      <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/AJAX/libs/bttn.CSS/0.2.4/bttn.CSS">
   </head>
   <body>
      <button class = "bttn-pill bttn-lg bttn-primary">Primary</button>
      <button class = "bttn-pill bttn-md bttn-warning">Warning</button>
      <button class = "bttn-pill bttn-sm bttn-danger">Danger</button>
      <button class = "bttn-pill bttn-xs bttn-success">Success</button>
      <button class = "bttn-pill bttn-xs bttn-royal">Royal</button>
   </body>
</HTML>

本文标题为:CSS定义颜色

上一篇: CSS定义大小