Target effects

Size
1,855 Kb
Views
28,336

How do I make an target effects?

What is a target effects? How do you make a target effects? This script and codes were developed by Alexander Nastase on 21 August 2022, Sunday.

Target effects Previews

Target effects - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>target effects</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="cursor"> <div class="center"></div> <div class="middle"></div> <div class="horizontal"></div> <div class="vertical"></div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Target effects - Script Codes CSS Codes

body { background:#1b3149; cursor:crosshair; }
.cursor { }
.cursor .horizontal { position:absolute; height:1px; width:100%; background:#fff; }
.cursor .vertical { position:absolute; width:1px; height:100%; background:#fff; }
.cursor .middle { position: absolute; width:33px; height:33px; border:1px #fff solid; z-index:1; }
.cursor .center { position: absolute; width:9px; height:9px; border:1px #ff6600 solid; z-index:2; }

Target effects - Script Codes JS Codes

$(document).bind('mousemove', function(e){ $('.cursor .horizontal').css({ top: e.pageY }); $('.cursor .vertical').css({ left: e.pageX }); $('.cursor .middle').css({ top: e.pageY - 17, left: e.pageX - 17 }); $('.cursor .center').css({ top: e.pageY - 5, left: e.pageX - 5 });
});
Target effects - Script Codes
Target effects - Script Codes
Home Page Home
Developer Alexander Nastase
Username anodpixels
Uploaded August 21, 2022
Rating 3
Size 1,855 Kb
Views 28,336
Do you need developer help for Target effects?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Alexander Nastase (anodpixels) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!