2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Revert "Improve callout shortcode. (#31802)" (#31871)

This reverts commit 5c6925385e.
This commit is contained in:
XhmikosR
2020-10-13 16:37:21 +03:00
committed by GitHub
parent 4c3c552f93
commit f3cfc8e7ec
35 changed files with 131 additions and 131 deletions
+4 -4
View File
@@ -12,9 +12,9 @@ The carousel is a slideshow for cycling through a series of content, built with
In browsers where the [Page Visibility API](https://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).
{{% callout info %}}
{{< callout info >}}
{{< partial "callout-info-prefersreducedmotion.md" >}}
{{% /callout %}}
{{< /callout >}}
Please be aware that nested carousels are not supported, and carousels are generally not compliant with accessibility standards.
@@ -324,9 +324,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
{{% callout danger %}}
{{< callout danger >}}
{{< partial "callout-danger-async-methods.md" >}}
{{% /callout %}}
{{< /callout >}}
You can create a carousel instance with the carousel constructor, for example, to initialize with additional options and start cycling through items: