css仿京东底部菜单按钮悬浮层

css仿京东底部菜单按钮悬浮层

这个底部悬浮层菜单是仿照京东商品详情的http://item.m.jd.com/product/1451400.html,菜单按钮有关注、加入购物车、购物车和立即购买。#carNum里面可加入购物车数量,为空表示购物车里面没有商品。

淘建站为您提供更多_手机特效_导航菜单_导航_底部,在此特别感谢您对我们的支持与厚爱!

查看演示

演示不了,点击反馈

加入收藏

下载 462 次

打赏作者

觉得不错,可打赏下作者

下载资源

免费共享

特别说明:本站资源来自网友发布分享,仅供学习与参考,请勿用于商业用途,若有侵权请联系删除(272966172@qq.com)。

底部菜单html

<div class="cart-concern-btm-fixed four-column" id="cart1" style="display: table;">
    <div class="concern-cart">
        <a  id="payAttention" class="love-heart-icn J_ping">
            <em  class="btm-act-attention"></em>
            <span>关注</span>
        </a>
        <a id="toCart" class="cart-car-icn">
            <em id="shoppingCart" class="btm-act-icn">
                <i id="carNum" class="order-numbers">3</i>
            </em>
            <span>购物车</span>
        </a>
    </div>
    <div class="action-list">
        <a id="add_cart" class="yellow-color" style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);"> 加入购物车 </a>
        <a id="directorder" class="red-color " style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);">立即购买</a>
    </div>
</div>

底部悬浮导航样式

.cart-concern-btm-fixed {
    bottom: 0;
    height: 50px;
    left: 0;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.four-column .concern-cart {
    width: 42%;
}
.concern-cart {
    background-color: rgba(0, 0, 0, 0.8);
}
.concern-cart, .action-list {
    float: left;
}

.concern-cart a {
    color: #d4d4d4;
    font-size: 10px;
}
.concern-cart a, .action-list a {
    width: 50%;
}
.concern-cart a, .action-list a {
    display: inline-block;
    float: left;
    height: 50px;
    line-height: 50px;
}

.focus-container {
    display: inline-block;
    text-align: center;
    width: 40px;
}

.focus-container .focus-icon {
    margin-bottom: -18px;
    text-align: center;
}

.focus-out {
    background-position: 0 0;
    display: inline-block;
    height: 19px;
    width: 21px;
}

.concern-cart a span {
    display: block;
    height: 18px;
    line-height: 13px;
    text-align: center;
}
.focus-info {
    color: #d4d4d4;
    font-size: 10px;
}
em.btm-act-icn {
    background: url("../images/sprits_btm_new.png") no-repeat scroll 0 0;
    display: block;
    height: 24px;
    margin: 8px auto 0;
    position: relative;
    width: 25px;
}
.cart-car-icn .btm-act-icn {
    background-position: 0 -23px;
    background-size: 50px 50px;
}

.order-numbers {
    background-color: white;
    border-radius: 8px;
    color: #f15353;
    display: inline-block;
    font-size: 8px;
    font-style: normal;
    line-height: 12px;
    padding: 0 5px;
    position: absolute;
    right: -10px;
    top: -5px;
}

.four-column .action-list {
    width: 58%;
}

.action-list a {
    color: #fff;
    font-size: 15px;
}
.yellow-color {
    background-color: #ffb03f;
}
.red-color {
    background-color: #f15353;
}
em.btm-act-attention {
    background:  url("../images/focus-icon.png") no-repeat scroll 0 0 / 100px 100px;
    display: inline-block;
    height: 19px;
    width: 21px;
    background-position: 0 0;
    margin:10.6px 0 2px
}

声明:本资料由淘建站会员提供,如转载注明来源,资料来源淘建站免费素材库:https://www.taojz.cn/texiao/714.html
css仿京东底部菜单按钮悬浮层 希望对你有帮助,感谢您的支持!
  • css3文字导航鼠标悬停气泡动画特效

    css3文字导航鼠标悬停气泡动画特效

  • html5页面倾斜打开侧边菜单动画特效

    html5页面倾斜打开侧边菜单动画特效

  • Quicksand超漂亮的菜单排序效果

    Quicksand超漂亮的菜单排序效果

  • jquery导航条鼠标悬停图标导航图片文字上下翻滚

    jquery导航条鼠标悬停图标导航图片文字上下翻滚

  • jquery banner滑块导航条幻灯片轮播图片滚动

    jquery banner滑块导航条幻灯片轮播图片滚动

  • jquery bootstrap侧边隐藏响应式下拉导航菜单栏

    jquery bootstrap侧边隐藏响应式下拉导航菜单栏

  • jQuery中英文字切换导航条鼠标悬停滑动下拉二级导航菜单代码

    jQuery中英文字切换导航条鼠标悬停滑动下拉二级导航菜单代码

  • jQuery仿百度百科右侧浮动导航菜单代码

    jQuery仿百度百科右侧浮动导航菜单代码

  • 折叠侧边导航栏

    折叠侧边导航栏

  • jquery仿微软网站导航全屏下拉菜单代码

    jquery仿微软网站导航全屏下拉菜单代码

  • jQuery网站垂直导航标签tab选项卡切换代码

    jQuery网站垂直导航标签tab选项卡切换代码

  • jQuery黑色的导航下拉菜单代码

    jQuery黑色的导航下拉菜单代码

  • 留言(0)
    头像
     阿里云限量代金券,戳我领取
    1 2