源代码:
提交运行 »
<!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="http://www.fmpq.com/jscss/bootstrap/foundation.min.css"> <script src="http://www.fmpq.com/jscss/bootstrap/jquery.min.js"></script> <script src="http://www.fmpq.com/jscss/bootstrap/foundation.min.js"></script> <script src="http://www.fmpq.com/jscss/bootstrap/modernizr.js"></script> </head> <body> <div style="padding:20px;"> <h2>按钮元素</h2> <a href="#" class="button info" role="button">链接按钮</a> <button type="button" class="button info">按钮</button> <input type="button" class="button info" value="Input 按钮"> <input type="submit" class="button info" value="Submit 按钮"> </div> </body> </html>
测试结果: