etaoux / brix

Build site with bricks
http://etaoux.github.com/brix
MIT License
124 stars 49 forks source link

简化 breadcrumbs 的 CSS 写法; #24

Closed huacnlee closed 12 years ago

huacnlee commented 12 years ago

以前的:

<ul bx-name="breadcrumbs" class="breadcrumbs" id="brix_brick_12">
    <li class="breadcrumbs-item  breadcrumbs-itemfirst">
        <a href="#1234">首页</a>
    </li>
    <li class="breadcrumbs-item breadcrumbs-itemsplit">
        <i class="iconfont icon-arrow-right">ƒ</i>
    </li>
    <li class="breadcrumbs-item">
        <a href="#44">创意管理</a>
    </li>
    <li class="breadcrumbs-item breadcrumbs-itemsplit">
        <i class="iconfont icon-arrow-right">ƒ</i>
    </li>
    <li class="breadcrumbs-item breadcrumbs-itemlast">
        创意活动五
    </li>
</ul>

现在的:

<ul bx-name="breadcrumbs" class="breadcrumbs" id="brix_brick_12">
    <li class="item">
        <a href="#1234">首页</a>
    </li>
    <li class="item split">
        <i class="iconfont">ƒ</i>
    </li>
    <li class="item">
        <a href="#44">创意管理</a>
    </li>
    <li class="item split">
        <i class="iconfont">ƒ</i>
    </li>
    <li class="item">
        创意活动五
    </li>
</ul>