Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

JCB! Snippet

d-*-flex

Quickly and responsively toggle the display value of components and more with our display utilities. Includes support for some of the more common values, as well as some extras for controlling display when printing.

Snippet

<div class="d-flex bg-primary">d-flex</div>
<span class="d-sm-flex bg-primary">d-sm-flex</span>
<span class="d-md-flex bg-primary">d-md-flex</span>
<span class="d-lg-flex bg-primary">d-lg-flex</span>
<span class="d-xl-flex bg-primary">d-xl-flex</span>

Usage

The display property accepts a handful of values and we support many of them with utility classes. We purposefully don’t provide every value as a utility, so here’s what we support:

.d-none
.d-inline
.d-inline-block
.d-block
.d-table
.d-table-cell
.d-flex
.d-inline-flex

Put them to use by applying any of the classes to an element of your choice. For example, here’s how you could use the inline, block, or inline-block utilities (the same applies to the other classes).

Contributor

  • Most Wanted Web Services, Inc.
  • Steve Voorhees
  • email
  • website

Streamline your Joomla development with a single, reusable snippet designed for flexibility, consistency, and easy updates.


Joomla Volunteer Portal Octoleo Llewellyn Telegram Mastodon X (Twitter) GitHub YouTube n8n Docker Hub Open Collective GPG Key