矢印型のパンくずナビゲーション

Ads

Result


矢印型のパンくずナビゲーションです。
フォームのフロー等にも使えそうですね

css

.breadcrumb {/*全体*/
  display: inline-block;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border-radius: 5px;
  counter-reset: flag;
}
 
.breadcrumb a {/*各リンク*/
  text-decoration: none;
  outline: none;
  display: block;
  float: left;
  font-size: 12px;
  line-height: 36px;
  color: white;
  padding: 0 10px 0 60px;
  background: #666;
  background: linear-gradient(#666, #333);
  position: relative;
}
 
.breadcrumb a:first-child {/*最初のリンクの角丸設定:/
  padding-left: 46px;
  border-radius: 5px 0 0 5px;
}
.breadcrumb a:first-child:before {
  left: 14px;
}
.breadcrumb a:last-child {/*最後のリンクの角丸設定*/
  border-radius: 0 5px 5px 0;
  padding-right: 20px;
}
 
.breadcrumb a.active,
.breadcrumb a:hover{/*ホバー時のスタイル*/
  background: #333;
  background: linear-gradient(#333, #000);
}
.breadcrumb a.active:after,
.breadcrumb a:hover:after {
  background: #333;
  background: linear-gradient(135deg, #333, #000);
}
 
.breadcrumb a:after {/*羽部分*/
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  width: 36px;
  height: 36px;
  transform: scale(0.707) rotate(45deg);
  z-index: 1;
  background: #666;
  background: linear-gradient(135deg, #666, #333);
  box-shadow:
    2px -2px 0 2px rgba(0, 0, 0, 0.4),
    3px -3px 0 2px rgba(255, 255, 255, 0.1);
  border-radius: 0 5px 0 50px;
}
 
.breadcrumb a:last-child:after {
  content: none;
}
 
.breadcrumb a:before {/*カウンター設置で自動ナンバリング*/
  content: counter(flag);
  counter-increment: flag;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin: 8px 0;
  position: absolute;
  top: 0;
  left: 30px;
  background: #444;
  background: linear-gradient(#444, #222);
  font-weight: bold;
}

html

<div class="breadcrumb">
  <a href="#" class="active">Browse</a>
  <a href="#">Compare</a>
  <a href="#">Order Confirmation</a>
  <a href="#">Checkout</a>
</div>

via

Pure CSS3 breadcrumb navigation – the pixel perfect way