Nodlik / react-pageflip

Simple React.js wrapper for StPageFlip library, for creating realistic and beautiful page turning effect
https://nodlik.github.io/react-pageflip/
MIT License
476 stars 91 forks source link

Missing styles on basic example. #7

Closed augmentaudio closed 4 years ago

augmentaudio commented 4 years ago

The basic example on your documentation works but without most of the styles. The page turn effect works but missing box-shadows from --left and --right and none of the Sass rules from the stPageFlip demo seem to be there. Would be super useful to include a working example in this main repo, otherwise the wrapper seems to work great !

jonportelli commented 4 years ago

The demo styles are not included in these docs or repo but you just need to install sass and then copy over styles over from the other demo here. https://nodlik.github.io/StPageFlip/demo.html

augmentaudio commented 4 years ago

That worked perfectly, thanks !

eltongonc commented 3 years ago

Amazing plugin man 👍

I ran into some layout issues. But the following code did the trick

* {
  box-sizing: border-box;
}