Foundation 用于開(kāi)發(fā)響應(yīng)式的 HTML, CSS and JavaScript 框架。
Foundation 是一個(gè)易用、強(qiáng)大而且靈活的框架,用于構(gòu)建基于任何設(shè)備上的 Web 應(yīng)用。
Foundation 是一個(gè)以移動(dòng)優(yōu)先的流行框架。
Foundation 表格 語(yǔ)法
說(shuō)明:Foundation 的?<table>?元素樣式為灰色斑馬條紋且包含四個(gè)邊框
Foundation 表格 示例
<!DOCTYPE html> <html> <head> <title>Foundation 實(shí)例</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 style="padding:20px;"> <h2>基本表格</h2> <p>Foundation 的 table 元素樣式為灰色斑馬條紋且包含四個(gè)邊框:</p> <table> <thead> <tr> <th>Firstname</th> <th>Lastname</th> <th>Email</th> </tr> </thead> <tbody> <tr> <td>John</td> <td>Doe</td> <td>john@example.com</td> </tr> <tr> <td>Mary</td> <td>Moe</td> <td>mary@example.com</td> </tr> <tr> <td>July</td> <td>Dooley</td> <td>july@example.com</td> </tr> </tbody> </table> </body> </html>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例