W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"> <script src="//code.jquery.com/jquery-1.8.3.min.js"></script> <script src="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="content"> <h2>划分按钮实例</h2> <ul data-role="listview" data-inset="true" data-split-theme="e"> <li data-role="divider" data-theme="a">浏览器</li> <li> <a href="#"> <img src="/i/chrome.png"> <h2>Google Chrome</h2> <p>Google Chrome 是一款免费的开源浏览器。发布于 2008 年。</p> </a> <a href="#download" data-rel="dialog" data-transition="pop">下载浏览器</a> </li> <li> <a href="#"> <img src="/i/firefox.png"> <h2>Mozilla Firefox</h2> <p>Firefox 是一款来自 Mozilla。发布于 2004 年。</p> </a> <a href="#download" data-rel="dialog" data-transition="pop">下载浏览器</a> </li> </ul> </div> </div> <div data-role="page" id="download" data-overlay-theme="e"> <div data-role="content"> <h3>划分按钮实例</h3> <p>下面的按钮仅供演示。</p> <a href="#" data-role="button" data-rel="back" data-theme="b" data-icon="check" data-inline="true" data-mini="true">下载</a> <a href="#" data-role="button" data-rel="back" data-inline="true" data-mini="true">取消</a> </div> </div> </body> </html>