layout | title | group |
---|---|---|
docs |
Display property |
utilities |
Use .d-block
, .d-inline
, or .d-inline-block
to simply set an element's display
property to block
, inline
, or inline-block
(respectively).
To make an element display: none
, use our responsive utilities instead.
{% example html %}
Inline
Inline
{% endexample %}
{% example html %} Block {% endexample %}
{% example html %}
{% endexample %}