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

how to call images in css file? #1379

Open
whitebeard-85 opened this issue Apr 22, 2024 · 1 comment
Open

how to call images in css file? #1379

whitebeard-85 opened this issue Apr 22, 2024 · 1 comment

Comments

@whitebeard-85
Copy link

The css file I have is written as follows.

div::-webkit-scrollbar-button:horizontal:start:decrement {
opacity:0.5;
background-image: url(../nep_image/nac_sb_left.png);
background-repeat: no-repeat;
background-position: 4px 2px, 0 0;
}

When loading an epub file in epub.js, the image with a relative path in the CSS above cannot be loaded.
What should I do?

@johnfactotum
Copy link
Contributor

This is probably the same as #1322.

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

2 participants