Riprov2小工具教学-合作伙伴小工具
视频教程视频教程

教程Riprov2小工具教学-合作伙伴小工具

效果展示 教程开始 1.将以下css代码复制到ripro-v2主题文件css中 .tkm-cooper {} .tkm-cooper h3 { font-size: 24px; margin-bottom: 40px; text-align: center; } .tkm-cooper h3 b { display: inline-block; position: relative; } .tkm-cooper h3 b:after { content: ""; width: 60px; height: 2px; position: absolute; background: linear-gradient(270deg,#61b1ff,#04f); bottom: -10px; left: 50%; margin-left: -30px; } .tkm-cooper...
Riprov2小工具教学-统计模块小工具
视频教程视频教程

教程Riprov2小工具教学-统计模块小工具

效果展示 教程开始 1.将以下css代码复制到ripro-v2主题文件css中 /*统计模块*/ .van-statistics-widget { background: #fff; padding: 0 ; margin-top: 30px; } .van-statistics-widget>.container { max-width: none !important; max-height: 355px; padding: 0 !important; } .van-statistics-widget>.container>.module.parallax { display: flex; min-height: 385px; position: relative; text-align: center; } .van-statistics-widget>.container>.module.parallax .container { margin: auto; padding-bottom: 60px; padding-top: 60px; }...
Riprov2美化教学-爱心特效
视频教程视频教程

教程Riprov2美化教学-爱心特效

效果展示 一、直接显示代码 1.新建js文件,将以下内容添加在js文件中 (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback){ setTimeout(callback,1000/60); } })(); init(); function init(){ css(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: absolute;}.heart:after{top:...