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定义颜色
猜你喜欢
- Bootstrap单选按钮 1970-01-01
- js过滤所有特殊字符的实例代码 2022-10-16
- D3.js数组API 1970-01-01
- Bootstrap表格行或单元格 1970-01-01
- 原始CSS美化select下拉框option示例代码 2022-10-05
- D3.js selectAll()用法 2022-07-13
- Bootstrap .well类 1970-01-01
- Bootstrap navbar-fixed-bottom类使用 1970-01-01
- Bootstrap创建下拉菜单 1970-01-01
- Bootstrap .btn-primary类 1970-01-01