We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is useful when you want to use your own cursor file in the CSS cursor property.
https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
Add "cur" type in
vite/packages/vite/client.d.ts
Lines 52 to 104 in 58f1df3
vite/packages/vite/src/node/constants.ts
Lines 120 to 132 in 58f1df3
No response
import myFancyCursor from "src/assets/cursors/my_fancy_cursor.cur"; const ComponentWithFancyCursor = styled.div` cursor: url("${myFancyCursor}"), default; `;
In fact, I'd like to add the animated cursor (.ani) format as well, which unfortunately doesn't seem to be supported by CSS.
The text was updated successfully, but these errors were encountered:
feat: add support for .cur type
a62737a
close vitejs#18679
Successfully merging a pull request may close this issue.
Description
It is useful when you want to use your own cursor file in the CSS cursor property.
Suggested solution
Add "cur" type in
vite/packages/vite/client.d.ts
Lines 52 to 104 in 58f1df3
vite/packages/vite/src/node/constants.ts
Lines 120 to 132 in 58f1df3
Alternative
No response
Additional context
Usage
In fact, I'd like to add the animated cursor (.ani) format as well, which unfortunately doesn't seem to be supported by CSS.
Validations
The text was updated successfully, but these errors were encountered: