bulma/docs/documentation/elements/delete.html

93 lines
2.5 KiB
HTML
Raw Normal View History

2016-10-30 16:11:04 +00:00
---
2017-07-29 12:02:00 +00:00
title: Delete
2016-10-30 16:11:04 +00:00
layout: documentation
doc-tab: elements
doc-subtab: delete
---
{% capture cross_example %}
<a class="delete"></a>
{% endcapture %}
{% capture cross_sizes_example %}
<a class="delete is-small"></a>
<a class="delete"></a>
<a class="delete is-medium"></a>
<a class="delete is-large"></a>
{% endcapture %}
{% capture cross_elements_example %}
<div class="block">
<span class="tag is-success">
Hello World
<button class="delete is-small"></button>
</span>
</div>
<div class="notification is-danger">
<button class="delete"></button>
Lorem ipsum dolor sit amet, consectetur adipiscing elit lorem ipsum dolor sit amet, consectetur adipiscing elit
</div>
2016-10-30 19:20:51 +00:00
<article class="message is-info">
<div class="message-header">
Info
<button class="delete"></button>
</div>
<div class="message-body">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur. Aenean ac eleifend lacus, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula, id porttitor mi magna a neque. Donec dui urna, vehicula et sem eget, facilisis sodales sem.
</div>
</article>
2016-10-30 16:11:04 +00:00
{% endcapture %}
2017-07-29 12:02:00 +00:00
{% include subnav-elements.html %}
<section class="section">
<div class="container">
<h1 class="title">Delete</h1>
<h2 class="subtitle">
A versatile <strong>delete</strong> cross
</h2>
{%
include meta.html
colors=false
sizes=true
variables=false
%}
<hr>
<div class="content">
<p>
The <code>.delete</code> element is a stand-alone element that can be used in different contexts.
</p>
2017-08-30 20:13:17 +00:00
<p>
On its own, it's a simple circle with a cross:
</p>
2017-07-29 12:02:00 +00:00
</div>
2017-08-30 20:13:17 +00:00
{% include snippet.html content=cross_example %}
2017-07-29 12:02:00 +00:00
2017-08-14 17:25:14 +00:00
{% include anchor.html name="Sizes" %}
2017-07-29 12:02:00 +00:00
2017-08-30 20:13:17 +00:00
<div class="content">
<p>
It comes in <strong>4 sizes</strong>:
</p>
2017-07-29 12:02:00 +00:00
</div>
2017-08-30 20:13:17 +00:00
{% include snippet.html content=cross_sizes_example %}
{% include anchor.html name="Combinations" %}
<div class="content">
<p>
Bulma uses it for the <a href="/documentation/elements/tag/">tags</a>, the <a href="/documentation/elements/notification/">notifications</a>, and the <a href="/documentation/components/message/">messages</a>:
</p>
2017-07-29 12:02:00 +00:00
</div>
2016-10-30 16:11:04 +00:00
2017-08-30 20:13:17 +00:00
{% include snippet.html content=cross_elements_example %}
2016-10-30 16:11:04 +00:00
</div>
</section>