Foundation 按钮
翻译结果:
Foundation 用于开发响应式的 HTML, CSS and JavaScript 框架。
Foundation 是一个易用、强大而且灵活的框架,用于构建基于任何设备上的 Web 应用。
Foundation 是一个以移动优先的流行框架。
Foundation 按钮语法
说明:Foundation 提供了 6 种按钮样式。 .button 类创建了一个蓝色的按钮并附有内边距。不同颜色按钮类为: .secondary, .success, .info, .warning 或 .alert
Foundation 按钮示例
<!DOCTYPE html> <html> <head> <title>Foundation 实例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/foundation/5.5.3/js/foundation.min.js"></script> <script src="https://cdn.bootcss.com/foundation/5.5.3/js/vendor/modernizr.js"></script> </head> <body> <div style="padding:20px;"> <h2>按钮样式</h2> <button type="button" class="button">Default</button> <button type="button" class="button secondary">Secondary</button> <button type="button" class="button success">Success</button> <button type="button" class="button info">Info</button> <button type="button" class="button warning">Warning</button> <button type="button" class="button alert">Alert</button> </div> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例
热门推荐
- New FUSION Pro Xbox controllers announced with Hall effect sensors, custom RGB and four mappable buttons
- Ethereum Foundation Carries on ETH Selling in September
- Celestia 基金会筹集 1 亿美元,其 TIA 代币下跌 54%
- 狗狗币首席开发商 Mishaboar 重申基金会是一个独立组织
- 狗狗币基金会发布了详细说明其发展目标的路线图
- Ethereum Foundation Makes Major Transfer of 84,211 ETH to Unknown Wallet