9种不同的面包屑和分布式多步骤导航
【常用面包屑】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>
运行一下
下载地址