2016-10-30 16:11:04 +00:00
|
|
|
---
|
2017-07-29 12:02:00 +00:00
|
|
|
title: Delete
|
2024-03-21 16:11:54 +00:00
|
|
|
layout: docs
|
|
|
|
theme: library
|
2016-10-30 16:11:04 +00:00
|
|
|
doc-tab: elements
|
|
|
|
doc-subtab: delete
|
2018-04-09 13:15:31 +00:00
|
|
|
breadcrumb:
|
2024-03-21 16:11:54 +00:00
|
|
|
- home
|
|
|
|
- documentation
|
|
|
|
- elements
|
|
|
|
- elements-delete
|
2018-04-09 13:15:31 +00:00
|
|
|
meta:
|
|
|
|
colors: false
|
|
|
|
sizes: true
|
|
|
|
variables: false
|
2016-10-30 16:11:04 +00:00
|
|
|
---
|
|
|
|
{% capture cross_example %}
|
2021-01-27 23:30:42 +00:00
|
|
|
<button class="delete"></button>
|
2016-10-30 16:11:04 +00:00
|
|
|
{% endcapture %}
|
|
|
|
{% capture cross_sizes_example %}
|
2021-01-27 23:30:42 +00:00
|
|
|
<button class="delete is-small"></button>
|
|
|
|
<button class="delete"></button>
|
|
|
|
<button class="delete is-medium"></button>
|
|
|
|
<button class="delete is-large"></button>
|
2016-10-30 16:11:04 +00:00
|
|
|
{% 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>
|
2024-03-21 16:11:54 +00:00
|
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit lorem ipsum dolor sit
|
|
|
|
amet, consectetur adipiscing elit
|
2016-10-30 16:11:04 +00:00
|
|
|
</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">
|
2024-03-21 16:11:54 +00:00
|
|
|
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.
|
2016-10-30 19:20:51 +00:00
|
|
|
</div>
|
|
|
|
</article>
|
2016-10-30 16:11:04 +00:00
|
|
|
{% endcapture %}
|
2017-07-29 12:02:00 +00:00
|
|
|
|
2018-04-09 13:15:31 +00:00
|
|
|
<div class="content">
|
2024-03-21 16:11:54 +00:00
|
|
|
<p>The <code>delete</code> element is a stand-alone element that can be used in different contexts.</p>
|
|
|
|
<p>On its own, it's a simple circle with a cross:</p>
|
2018-04-09 13:15:31 +00:00
|
|
|
</div>
|
2017-07-29 12:02:00 +00:00
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
{% include docs/elements/snippet.html content=cross_example %}
|
|
|
|
{% include docs/elements/anchor.html name="Sizes" %}
|
2017-07-29 12:02:00 +00:00
|
|
|
|
2018-04-09 13:15:31 +00:00
|
|
|
<div class="content">
|
2024-03-21 16:11:54 +00:00
|
|
|
<p>It comes in <strong>4 sizes</strong>:</p>
|
2018-04-09 13:15:31 +00:00
|
|
|
</div>
|
2017-08-30 20:13:17 +00:00
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
{% include docs/elements/snippet.html content=cross_sizes_example %}
|
|
|
|
{% include docs/elements/anchor.html name="Combinations" %}
|
2016-10-30 16:11:04 +00:00
|
|
|
|
2018-04-09 13:15:31 +00:00
|
|
|
<div class="content">
|
|
|
|
<p>
|
2024-03-21 16:11:54 +00:00
|
|
|
Bulma uses it for the
|
|
|
|
<a href="{{ site.url }}/documentation/elements/tag/">tags</a>, the
|
|
|
|
<a href="{{ site.url }}/documentation/elements/notification/">notifications</a>, and the
|
|
|
|
<a href="{{ site.url }}/documentation/components/message/">messages</a>:
|
2018-04-09 13:15:31 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2017-08-30 20:13:17 +00:00
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
{% include docs/elements/snippet.html content=cross_elements_example %}
|