提交 ada6718f 编写于 作者: M mrszympek

DOCS - cards

上级 6e02fb55
...@@ -87,7 +87,7 @@ You can also add the image on the left side of the card. All you need do to is: ...@@ -87,7 +87,7 @@ You can also add the image on the left side of the card. All you need do to is:
{% include cards/card.html title="Card with loader" hide-options=true show-loader=true %} {% include cards/card.html title="Card with loader" hide-options=true show-loader=true %}
{% endexample %} {% endexample %}
### Card with badge ### Card with badge on image
{% example html columns=2 %} {% example html columns=2 %}
<div class="card flex-row flex-row-reverse"> <div class="card flex-row flex-row-reverse">
...@@ -114,6 +114,36 @@ You can also add the image on the left side of the card. All you need do to is: ...@@ -114,6 +114,36 @@ You can also add the image on the left side of the card. All you need do to is:
</div> </div>
{% endexample %} {% endexample %}
### Card with badge
{% example html columns=2 %}
<div class="card flex-row">
<div class="media media-4x3 col-5">
<a class="media-content " style="background-image:url({% include ui/image.html id=13 %})">
</a>
<div class="media-action ">
</div>
</div>
<div class="card-body d-flex flex-column ">
<div class="flex-fill ">
<div class="mb-3">
<a href="#">
<span class="badge badge-md text-uppercase bg-danger">Fashion</span>
</a>
</div>
<a href="#" class="card-title h-2x">
What Not To Wear: The Hats, Scarves In History
</a>
</div>
<div class="">
<div class="text-muted text-sm">Feb 26, 1:49 am</div>
</div>
</div>
</div>
{% endexample %}
### Card with aside image ### Card with aside image
{% example html columns=2 %} {% example html columns=2 %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册