TIL you can make your cursor display images
POSTED ON:
You can use CSS to make your cursor display images.
.card-image-cursor {
background-color: #D11A5A;
cursor: url(https://stackdiary.com/tools/assets/img/tools/html-beautifier.svg), auto;
}
The cursor element allows you to use url()
. mdn
It's required to include a fallback keyword (like auto
) in case the image is broken.
So yes, you can totally make it into pizza if you want.
via 10 Useful CSS Tricks for Front-end Developers
Related TILs
Tagged: css