Foundation 用于开发响应式的 HTML, CSS and JavaScript 框架。
Foundation 是一个易用、强大而且灵活的框架,用于构建基于任何设备上的 Web 应用。
Foundation 是一个以移动优先的流行框架。
Foundation 标签 语法
说明:.label 类用于提供一些附加信息
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> <span class="label">Default Label</span> <span class="label secondary">Secondary Label</span> <span class="label success">Success Label</span> <span class="label info">Info Label</span> <span class="label warning">Success Label</span> <span class="label alert">Alert Label</span> </div> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例