Skip to content
New issue

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

Two state at the same time. #11

Open
nurpais opened this issue Aug 29, 2022 · 2 comments
Open

Two state at the same time. #11

nurpais opened this issue Aug 29, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@nurpais
Copy link

nurpais commented Aug 29, 2022

is it possible to enable two states at the same time?

I want to set a img and text to the cursor, the picture and text are displayed, but without the text background.

I apologize if I missed something in the documentation. Thank you!

image

@Drafteed
Copy link
Member

Drafteed commented Aug 29, 2022

Hello! This is a non-standard case and requires customization via CSS.

Example:

.mf-cursor {
    &.-video.-text {
        width: auto;
        height: auto;
        top: auto;
        left: auto;
        z-index: 10;
        transform: translate(-50%, -50%);
        padding: 20px;

        background: currentColor;
        border-radius: 50%;
    }
}

@Drafteed Drafteed added enhancement New feature or request question Further information is requested labels Aug 29, 2022
@nurpais
Copy link
Author

nurpais commented Aug 30, 2022

Good! Thank you. It would be cool if it all worked by default, without additional CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants