CSS按钮颜色

htmlheadlink rel = stylesheet href = /css_buttons/btns.css

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

<HTML>
   <head>
      <link rel = "stylesheet" href = "/CSS_buttons/btns.CSS">
   </head>

   <body>
      <button class = "btn btn-lg btn-red">Red</button>   
      <button class = "btn btn-lg btn-blue">Blue</button>
      <button class = "btn btn-lg btn-green">Green</button>
      <button class = "btn btn-lg btn-sea">Sea</button>   
      <button class = "btn btn-lg btn-yellow">Yellow</button>
      <button class = "btn btn-lg btn-orange">Orange</button>  
      <button class = "btn btn-lg btn-purple">Purple</button>   
      <button class = "btn btn-lg btn-black">Black</button>
      <button class = "btn btn-lg btn-cloud">Cloud</button>
      <button class = "btn btn-lg btn-grey">Grey</button>
   </body>
</HTML>

本文标题为:CSS按钮颜色

下一篇: CSS按钮样式

基础教程推荐