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.
Card Views in Onsen UI
-
Hello,
In the css reference ( https://onsen.io/2/reference/css.html ), I noticed the examples have card designs in the body of the virtual phone; Is there sample code to create card views with Onsen UI.
Thanks
-
@serenearrow Hello! That’s just some custom style. You can do it like this:
<div style="margin: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.2); background-color: white; height: 150px;"></div>