阅读 81

css实现悬浮微信二维码

/*微信二维码*/
.weixin{
    position:relative;
}
    .weixin::after {
        content: url("../images/wx.jpg");
        position: absolute;
        right: 15px;
        top: -260px;
        z-index: 99;
        width: 260px;
        height: 260px;
        border: 5px solid #0095ba;
        border-radius: 4px;
        transform-origin: top right;
        transform: scale(0);
        opacity: 0;
        -webkit-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
.weixin:hover::after{
    transform:scale(1);
    opacity: 1;
}
.gzhclass {
    padding: 1em 1em 0 1em;
    margin-left: 1.5em;
    margin-right: 1.5em;
    text-align: center;
    height: 100%;
    width: 15%;
    font-family: Slabo27px-Regular;
    font-size: 30px;
    color: #835253;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    display: inline-block;
    border: 1px solid #E5E5E5;
}
class="weixin">

 

原文:https://www.cnblogs.com/qq2806933146xiaobai/p/14884955.html

文章分类
代码人生
文章标签
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐