【常用麵包屑】9種不同的麵包屑和分散式多步驟導航 實例代碼 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ...
【常用麵包屑】9種不同的麵包屑和分散式多步驟導航
實例代碼
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>9種不同的麵包屑和分散式多步驟導航</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <link rel="stylesheet" href="/api/jq/1/css/style.css"/> <script src="/api/jq/1/js/modernizr.js"></script> </head> <body> <div class="container"> <div class="demo"> <p>1、基本麵包屑</p> <nav> <ol class="cd-breadcrumb"> <li><a href="#">首頁</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">PHP</a></li> <li class="current"><a href="#">模板</a></li> </ol> </nav> <p>2、自定義分隔符麵包屑</p> <nav> <ol class="cd-breadcrumb custom-separator"> <li><a href="#">首頁</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">PHP</a></li> <li class="current"><a href="#">模板</a></li> </ol> </nav> <p>3、自定義圖標麵包屑</p> <nav> <ol class="cd-breadcrumb custom-separator custom-icons"> <li><a href="#">首頁</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">PHP</a></li> <li class="current"><a href="#">模板</a></li> </ol> </nav> <p>4、三角箭頭麵包屑</p> <nav> <ol class="cd-breadcrumb triangle"> <li><a href="#">首頁</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">PHP</a></li> <li class="current"><a href="#">模板</a></li> </ol> </nav> <p>5、三角箭頭帶圖標麵包屑</p> <nav> <ol class="cd-breadcrumb triangle custom-icons"> <li><a href="#">首頁</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">PHP</a></li> <li class="current"><a href="#">模板</a></li> </ol> </nav> <p>6、基本分步指示</p> <nav> <ol class="cd-multi-steps text-center"> <li class="visited"><a href="#0">購物車</a></li> <li class="visited" ><a href="#0">結算付款</a></li> <li class="current"><em>送貨</em></li> <li><em>驗貨收貨</em></li> </ol> </nav> <p>7、自定義圖標分步指示</p> <nav> <ol class="cd-multi-steps text-center custom-icons"> <li class="visited"><a href="#0">購物車</a></li> <li class="visited" ><a href="#0">結算付款</a></li> <li class="current"><em>送貨</em></li> <li><em>驗貨收貨</em></li> </ol> </nav> <p>8、圓點分步指示</p> <nav> <ol class="cd-multi-steps text-top"> <li class="visited"><a href="#0">購物車</a></li> <li class="visited" ><a href="#0">結算付款</a></li> <li class="current"><em>送貨</em></li> <li><em>驗貨收貨</em></li> </ol> </nav> <p>9、帶數字的圓點分步指示</p> <nav> <ol class="cd-multi-steps text-bottom count"> <li class="visited"><a href="#0">購物車</a></li> <li class="visited" ><a href="#0">結算付款</a></li> <li class="current"><em>送貨</em></li> <li><em>驗貨收貨</em></li> </ol> </nav> </div> </div> </body> </html>