RUNOOB.COM
源代码:
左右布局
点击运行
<!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.staticfile.org/foundation/5.5.3/css/foundation.min.css"> <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.staticfile.org/foundation/5.5.3/js/foundation.min.js"></script> <script src="https://cdn.staticfile.org/foundation/5.5.3/js/vendor/modernizr.js"></script> </head> <body> <div class="row"> <div class="medium-12 columns"> <div class="panel"> <h1>Foundation 页面</h1> <p>重置窗口大小,查看效果!</p> <button type="button" class="button small">我是按钮!</button> </div> </div> </div> <div class="row"> <div class="medium-4 columns"> <h3>菜鸟教程</h3> <p>学的不仅是技术,更是梦想!!!</p> </div> <div class="medium-4 columns"> <h3>菜鸟教程</h3> <p>学的不仅是技术,更是梦想!!!</p> </div> <div class="medium-4 columns"> <h3>菜鸟教程</h3> <p>学的不仅是技术,更是梦想!!!</p> </div> </div> </body> </html>
运行结果