1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 06:24:38 +04:00
Files
tabler/pages/_docs/toasts.md
T
2020-02-13 22:09:47 +01:00

993 B
Raw Blame History

title, menu, description, bootstrap-link
title menu description bootstrap-link
Toasts docs.toasts The toast component is like an alert box that is only shown for a couple of seconds when something happens (i.e. when the user clicks on a button, submits a form, etc.). components/toasts/

Default markup

{% capture code %} {% include ui/toast.html %} {% endcapture %} {% include example.html code=code %}

Translucent

Toasts are slightly translucent, too, so they blend over whatever they might appear over. For browsers that support the backdrop-filter CSS property, well also attempt to blur the elements under a toast.

{% capture code %} {% include ui/toast.html %} {% endcapture %} {% include example.html code=code %}

Stacking toasts

If you want to stack toasts just put them in the same container.

{% capture code %} {% include ui/toast.html person-id=3 %} {% include ui/toast.html date="7 mins ago" text="This is another toast message." %} {% endcapture %} {% include example.html code=code %}