Target effect
How do I make an target effect?
What is a target effect? How do you make a target effect? This script and codes were developed by Alexander Nastase on 29 January 2023, Sunday.
Target effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>target effect</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <svg id="cursor" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4000 3000"><title>target</title><rect x="1999.5" width="1" height="3000" style="fill:#fff"/><rect y="1499.5" width="4000" height="1" style="fill:#fff"/><path d="M1983,1483v34h34v-34h-34Zm33,33h-32v-32h32v32Z" transform="translate(0)" style="fill:#fff"/><path id="middle" d="M1995,1495h1v10h-1v-10Zm9,0h1v10h-1v-10Zm-9,10v-1h10v1h-10Zm0-9v-1h10v1h-10Z" transform="translate(0)" style="fill:#f60"/></svg>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum exercitationem magni, saepe debitis temporibus, modi error <a href="#">explicabo</a>, esse voluptatem doloribus maiores veritatis nobis quia sit, quae distinctio omnis impedit recusandae.</p> <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 effect - Script Codes CSS Codes
body { background:#1b3149; cursor:none; font-family:Arial;
color:white;}
#cursor { pointer-events: none; position:absolute; width:4000px; height:3000px; }
p { width: 40%; margin: 10%; }
Target effect - Script Codes JS Codes
$(document).bind('mousemove', function(e){ $('#cursor').css({ top: e.pageY - 1500, left: e.pageX - 2000 });
});
Developer | Alexander Nastase |
Username | anodpixels |
Uploaded | January 29, 2023 |
Rating | 3 |
Size | 2,163 Kb |
Views | 4,048 |
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!
Name | Size |
Pressable CSS Buttons | 4,863 Kb |
Carousel_listing | 45,147 Kb |
Nifty Slider | 5,012 Kb |
CSS CREATURE | 1,916 Kb |
Defcamp | 1,254 Kb |
Layout Experimentation Animation | 1,929 Kb |
Scrollbar Scrolling Progress Annotation | 2,265 Kb |
Tryout_slider_done | 2,104 Kb |
Simple Tabs | 2,131 Kb |
Right Click Menu | 2,252 Kb |
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!
Name | Username | Size |
Shopping List | Markmurray | 6,015 Kb |
RSW | JordanC | 3,726 Kb |
P5.js data visualization | Enginarslan | 2,233 Kb |
A Pen by Jay | Jaycode | 3,784 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Template | Indra_z85 | 2,323 Kb |
We Simplify animation | Meodai | 48,169 Kb |
SVG Icons Template | Legofsalmon | 2,618 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
RRC wrapSwitch | Pshrmn | 2,922 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!