İmleç önizlemesi: The Ghost - 1 - cute-cursor.com

İmleç paketi

The Ghost

The Ghost cursor for Chrome - spooky themed pointer with haunted hover hand. Halloween fan art.

Uzantıya Ekle

We hope you don't suffer from Samhainphobia, as we've created an authentic, intimidating The Ghost custom cursor for our The Cursors custom cursors collection for Chrome. There is a custom cursor with The Ghost in a set of cursors for Chrome.

İmleç dosyaları

Dosyayı indirin veya doğru etkin noktayla hazır CSS, JavaScript, React ve Roblox kodunu kopyalayın.

İmleç - 1 - cute-cursor.com

İmleç

Dosyayı indirin veya web siteniz, React, JavaScript ya da Roblox için yerleştirme kodunu kopyalayın.

Bu CSS'i stil sayfanıza yapıştırın. Etkin nokta koordinatları zaten dahildir.

.custom-cursor {
  cursor: url('https://cute-cursor.com/cdn/packs/1170/arrow.png') 24 0, auto;
}

İmleci doğru etkin noktayla uygulamak için bu JavaScript'i yapıştırın.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1170/arrow.png';
const HOTSPOT_X = 24;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'auto';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Bu React bileşenini kopyalayın ve içeriğinizi onunla sarmalayın.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1170/arrow.png';
const HOTSPOT_X = 24;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'auto';

export default function CustomCursor({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomCursor>Your content</CustomCursor>

Görseli Roblox'a yükleyin, YOUR_ASSET_ID kısmını değiştirin, ardından bu LocalScript'i yapıştırın.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/1170/arrow.png
-- Hotspot: 24, 0
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 24
local HOTSPOT_Y = 0
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
İşaretçi - 2 - cute-cursor.com

İşaretçi

Dosyayı indirin veya web siteniz, React, JavaScript ya da Roblox için yerleştirme kodunu kopyalayın.

Bu CSS'i stil sayfanıza yapıştırın. Etkin nokta koordinatları zaten dahildir.

.custom-pointer {
  cursor: url('https://cute-cursor.com/cdn/packs/1170/hand.png') 21 3, pointer;
}

İmleci doğru etkin noktayla uygulamak için bu JavaScript'i yapıştırın.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1170/hand.png';
const HOTSPOT_X = 21;
const HOTSPOT_Y = 3;
const CURSOR_FALLBACK = 'pointer';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Bu React bileşenini kopyalayın ve içeriğinizi onunla sarmalayın.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1170/hand.png';
const HOTSPOT_X = 21;
const HOTSPOT_Y = 3;
const CURSOR_FALLBACK = 'pointer';

export default function CustomPointer({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomPointer>Your content</CustomPointer>

Görseli Roblox'a yükleyin, YOUR_ASSET_ID kısmını değiştirin, ardından bu LocalScript'i yapıştırın.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/1170/hand.png
-- Hotspot: 21, 3
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 21
local HOTSPOT_Y = 3
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
%100 Ücretsiz

İmleç Değiştirici uzantısını edinin

Chrome için ücretsiz. Bir kez yükleyin, ardından beğendiğiniz herhangi bir imlece Ekle'ye tıklayın.

Chrome'a Yükle