Skip to content

Commit ffb0448

Browse files
Mouse Click Effect
adding addons
1 parent 1403210 commit ffb0448

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

coding ui V1.3.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,8 @@ main{padding-right:25px}
11431143
.text-here .text-left i.go{width:30%;max-width:100px;margin-top:20px;background-color:#99f}
11441144
.text-here .text-img{flex-shrink:0;width:30%;height:80%;margin:auto 0;background-color:rgba(0,0,0,.05)}
11451145
@media screen and (max-width:768px){.text-here .text-left i{height:12px}.text-here .text-left i.bot{height:8px;margin-top:8px}.text-here .text-left i.go{margin-top:12px}.text-here .text-img{height:100%}}
1146+
1147+
11461148
]]></b:skin>
11471149

11481150
<b:defaultmarkups>
@@ -3368,5 +3370,18 @@ function copyFunction(){document.getElementById("getlink").select(),document.exe
33683370
<!--<b:include name='postPage-analytics'/>-->
33693371
<!-- <script>/*<![CDATA[*/ (function() { var ad = document.createElement('script'); ad.async = true; ad.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'; var sc = document.getElementsByTagName('head')[0]; sc.parentNode.insertBefore(ad, sc); })(); /*]]>*/</script> -->
33703372
</b:if>
3373+
<!-- Addons /// -->
3374+
<!-- 1 Mouse Click Effect -->
3375+
<style type="text/css">
3376+
.mteffect{width:60px;height:60px;border-radius:99em;border:3px solid #6200ee;position:fixed;left:50%;transform:scale(0.5);display:none;z-index:999}.mteffect.active{display:block;animation:mteffect 0.4s ease-out forwards}
3377+
@keyframes mteffect{from{transform:scale(0.2);opacity:1}to{transform:scale(1);opacity:0}}
3378+
</style>
3379+
3380+
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js'></script>
3381+
<script>//<![CDATA[
3382+
$("body").append($('<span class="mteffect"></span>')),$(document).on("click",function(n){var i=n.clientX,a=n.clientY;$(".mteffect").css({top:a-30,left:i-30}).addClass("active")}),$(".mteffect").on("animationend webkitAnimationEnd oAnimationEnd oanimationend MSAnimationEnd",function(){$(".mteffect").removeClass("active")});
3383+
//]]>
3384+
</script>
3385+
33713386
&lt;!--</body>--&gt;&lt;/body&gt;
33723387
</html>

0 commit comments

Comments
 (0)