Guest User

Untitled

a guest
Oct 23rd, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- TODO: INCLUDES ALL REQUIRED DEPENDENCIES. vue.js quasar.js fontawesome -->
  5. </head>
  6. <body>
  7. <h1>
  8. Quasar Framework Icons
  9. </h1>
  10. <article>
  11. <header><h1>Fontawesome</h1></header>
  12. <article>
  13. <header><h1>Stacks</h1></header>
  14. this example uses quasar-framework@0.17.16.
  15. <p>Nesting QIcon components it's fine and get the desired results but some adjustments are required</p>
  16. <q-icon name="fa fa-stack" size="2em">
  17. <!-- the fa-stack-1x|fa-stack-2x it's very important because make the position of icons stack -->
  18. <q-icon name="fas fa-camera fa-stack-1x"></q-icon>
  19. <!-- the size attribute it's needed because .q-icon ovverrides the .fa-stack-2x font-size definition, the same for the stack root -->
  20. <q-icon name="fas fa-ban fa-stack-2x" color="red" size="2em"></q-icon>
  21. </q-icon>
  22. </article>
  23. </article>
  24. </body>
  25. </html>
Add Comment
Please, Sign In to add comment