最新公告
  • 欢迎您光临大资源网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!怎么把网页设置成桌面图标
  • RIPRO主题美化-登录注册框动态美化添加SVG登录特效(张嘴特效)

    RIPRO主题美化-登录注册框动态美化添加SVG登录特效(张嘴特效) 最后编辑:2021-04-25
    增值服务: 自动发货 使用说明 安装指导 环境配置二次开发BUG修复

     RIPRO主题美化-登录注册框动态美化添加SVG登录特效(张嘴特效)

    不带后台直接下载替换,带后台开关的按照下面教程走

    1、找到/wp-content/themes/ripro/parts/popup-signup.php 文件并找到以下代码

    <!–登录页大嘴SVG特效开始–>
    <!–<?php if (_cao(‘xinghai_login_yazui’)) : ?> –>
    <div class=”main-login”>
    <div class=”monster”>
    <div class=”monster__face”>
    <div class=”monster__eyes”>
    <div class=”monster__eye”></div>
    <div class=”monster__eye”></div>
    </div>
    <div class=”monster__mouth”>
    <div class=”monster__top”></div>
    <div class=”monster__bottom”></div>
    </div>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <!–登录页大嘴SVG特效结束–>

    2.后台控制开关代码,添加到你想要添加的后台开关位置

    // 开启登录鸭嘴动效 
    array(
     'id' => 'xinghai_login_yazui', 
    'type' => 'switcher', 
    'title' => '开启登录鸭嘴特效',
     'default' => true, 
    ),
    3、找到diy.css把下面代码复制进去并保存

    /*登录页大嘴SVG特效开始*/
    .main-login {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    margin-bottom: 100px;
    margin-top: -105px;
    }

    .monster {
    display: flex;
    justify-content: center;
    position: relative;
    width: 270px;
    height: 90px;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    background-color: #FFF;
    }
    .monster__face {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 19%;
    width: 75%;
    height: 200px;
    }
    .monster__eyes {
    display: flex;
    justify-content: space-between;
    width: 28%;
    height: auto;
    margin-bottom: 10px;
    }
    .monster__eye {
    width: 17px;
    height: 30px;
    border-radius: 20px;
    background: #000000;
    }
    .monster__mouth {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 0%;
    overflow: hidden;
    border: 25px solid #FFC333;
    border-radius: 100px;
    background-color: #810332;
    animation: mouth 1.75s infinite;
    }
    .monster__mouth::before {
    content: ”;
    position: absolute;
    width: 150px;
    height: 80px;
    border-radius: 100px;
    background-color: #400018;
    }
    .monster__mouth::after {
    content: ”;
    position: absolute;
    bottom: -80px;
    width: 160px;
    height: 80px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    background-color: #DC1B50;
    animation: tongue 1.75s infinite;
    }
    .monster__top {
    position: absolute;
    top: -30px;
    width: 170px;
    height: 30px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #ffffff;
    z-index: 100;
    animation: t 1.75s infinite;
    }
    .monster__bottom {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #ffffff;
    z-index: 100;
    animation: b 1.75s infinite;
    }

    /**/
    /**/
    @keyframes t {
    0%, 10%, 80%, 100% {
    top: -30px;
    }
    20% {
    top: 0px;
    }
    30% {
    top: -20px;
    }
    40% {
    top: -0px;
    }
    50% {
    top: -25px;
    }
    70% {
    top: 0px;
    }
    }
    @keyframes b {
    0%, 10%, 80%, 100% {
    bottom: -30px;
    }
    20% {
    bottom: 0px;
    }
    30% {
    bottom: -20px;
    }
    40% {
    bottom: -0px;
    }
    50% {
    bottom: -25px;
    }
    70% {
    bottom: 0px;
    }
    }
    @keyframes mouth {
    0%, 10%, 100% {
    width: 100%;
    height: 0%;
    }
    15% {
    width: 90%;
    height: 30%;
    }
    20% {
    width: 50%;
    height: 70%;
    }
    25% {
    width: 70%;
    height: 70%;
    }
    30% {
    width: 80%;
    height: 60%;
    }
    35% {
    width: 60%;
    height: 70%;
    }
    40% {
    width: 55%;
    height: 75%;
    }
    45% {
    width: 50%;
    height: 90%;
    }
    50% {
    width: 40%;
    height: 70%;
    }
    55% {
    width: 70%;
    height: 95%;
    }
    60% {
    width: 40%;
    height: 50%;
    }
    65% {
    width: 100%;
    height: 60%;
    }
    70% {
    width: 100%;
    height: 70%;
    }
    75% {
    width: 90%;
    height: 70%;
    }
    80% {
    width: 50%;
    height: 70%;
    }
    85% {
    width: 90%;
    height: 50%;
    }
    85% {
    width: 40%;
    height: 70%;
    }
    90% {
    width: 90%;
    height: 30%;
    }
    95% {
    width: 100%;
    height: 10%;
    }
    }
    @keyframes tongue {
    0%, 20%, 100% {
    bottom: -80px;
    }
    30%, 90% {
    bottom: -40px;
    }
    40% {
    bottom: -45px;
    }
    50% {
    bottom: -50px;
    }
    70% {
    bottom: -80px;
    }
    90% {
    bottom: -40px;
    }
    }
    /*登录页大嘴SVG特效结束*/

      猜你在找

      常见问题FAQ

      免费下载或者VIP会员专享资源能否直接商用?
      本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
      提示下载完但解压或打开不了?
      最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
      找不到素材资源介绍文章里的示例图片?
      对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
      大资源
      一个高级程序员模板开发平台
      • 2021-04-25Hi,初次和大家见面了,请多关照!

      发表评论

      售后服务:

      • 售后服务范围 1、游戏版本使用范围内问题免费咨询
        2、游戏安装(一般 ¥50-300)服务答疑仅限SVIP用户
        3、单价超过200元的模板免费一次安装,需提供服务器信息。
        付费增值服务 1、提供端游版本、手游版本、页游版本优化等服务请详询在线客服
        2、承接 小游戏、H5游戏、传奇游戏 等系统搭建、开发、定制等服务
        3、服务器环境配置(一般 ¥50-300)
        4、游戏中毒处理(需额外付费,500元/次/质保三个月)
        售后服务时间 周一至周日(法定节假日除外) 9:00-23:00
        免责声明 本站所提供的游戏版本等资源仅供学习交流,若使用商业用途,请购买正版授权,否则产生的一切后果将由下载用户自行承担,有部分资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来信通知我们(Email: 2426252023@qq.com),我们会及时删除,给您带来的不便,我们深表歉意!

      Hi, 如果你对这款模板有疑问,可以跟我联系哦!

      联系作者
      • 10603会员总数(位)
      • 107096资源总数(个)
      • 2800本周发布(个)
      • 389今日发布(个)
      • 3775稳定运行(天)

      开通VIP 游戏教程
      升级SVIP尊享更多特权立即升级
      召唤伊斯特瓦尔