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

Applying custom CSS rules to the highlighted area #68

Open
JayWIlsonJr opened this issue Feb 21, 2016 · 1 comment
Open

Applying custom CSS rules to the highlighted area #68

JayWIlsonJr opened this issue Feb 21, 2016 · 1 comment

Comments

@JayWIlsonJr
Copy link

Is is possible to apply my own CSS rule to the highlighted area?

I'd like to apply a single CSS rule to the highlighted area:

mix-blend-mode: overlay

How would I go about applying my own style rules to the area that is highlighted on hover?

@JayWIlsonJr JayWIlsonJr changed the title CSS Blend Modes Applying custom CSS style rules for the highlighted area Feb 21, 2016
@JayWIlsonJr JayWIlsonJr changed the title Applying custom CSS style rules for the highlighted area Applying custom CSS rules for the highlighted area Feb 21, 2016
@JayWIlsonJr JayWIlsonJr changed the title Applying custom CSS rules for the highlighted area Applying custom CSS rules to the highlighted area Feb 21, 2016
@ghost
Copy link

ghost commented Jul 1, 2016

As a workaround you can locate the canvas element and apply CSS directly:
http://stackoverflow.com/a/38147321/1693593

But I would agree - it would be ideal to have an option where you can set things like blend-mode or css rule(s) text string. Just note that the rule would be applied to the entire canvas element, not just the highlighted area. Since the background graphics doesn't exist on the canvas element there is neither the possibility to use context blend modes for the highlighted region without rewriting the plugin to draw the image onto canvas directly. But this would be up to the authors of course..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant