東京都府中市、渋谷区のWEB制作会社Maromaroのブログです

スタイリッシュなパンくず

  • RESULT
  • HTML
  • CSS
  • コピー
    <ul class="msr_bread05">
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        Pankuzu
      </li>
    </ul>
  • コピー
    .msr_bread05 li {
      display:inline-block;
      font-size: 14px;
    }
    .msr_bread05 li a {
      color: #333333;
      display:inline-block;
      padding:8px 0;
      text-decoration: none;
      transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -webkit-transition: 0.2s ease-in-out;
    }
    .msr_bread05 li a:hover{
      opacity: 0.6;
    }
    /* 矢印 */
    .msr_bread05 li:after {
      content: "";
      display: inline-block;
      margin: 0 8px;
      height: 6px;
      border-top: 1px solid #999999;
      border-right: 1px solid #999999;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      vertical-align: middle;
      width: 6px;
    }
    .msr_bread05 li:last-child:after {
      display:none;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

その他のパンくず

パンくずの一覧をもっと見る

要素一覧