You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
799 B

4 years ago
  1. +++
  2. title = "Throbber"
  3. description = "Display a CSS-only loading indicator."
  4. categories = ["experience"]
  5. tags = []
  6. html_attributes = []
  7. custom_attributes = []
  8. snippets_used = ["throbber", "button"]
  9. [[copyright]]
  10. owner = "Josh Habdas"
  11. date = "2019"
  12. license = "agpl-3.0-or-later"
  13. +++
  14. Basic usage:
  15. ```html
  16. {{</* hackcss-throbber */>}}
  17. ```
  18. {{< hackcss-throbber >}}
  19. Inside a [Button](../button):
  20. ```html
  21. {{</* hackcss-button isghost="true" type="info" >}}
  22. Please wait&hellip; {{< hackcss-throbber >}}
  23. {{< /hackcss-button */>}}
  24. ```
  25. {{< hackcss-button isghost="true" type="info" >}}
  26. Please wait&hellip; {{< hackcss-throbber >}}
  27. {{< /hackcss-button >}}
  28. Customize by creating your own {{< external text="CSS-only loading" href="https://www.pexels.com/blog/css-only-loaders/" />}} indicator.