Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Image as a background (as shown on main Onsen website)
-
So as shown on the Onsen main page, does anyone know how the image-as-a-background styling was done?
Thanks!
Link:
-
The Onsen sample app (Omikuji Fortune Telling App) does this with pure CSS:
body { background-image: url("images/omikuji-bg.png"); background-size: cover; background-repeat: no-repeat; margin: 0; padding: 0; text-align: center; }
For toolbars and other items, you also use
modifier='transparent'
-
@munsterlander Awesome! Thank you much.