blank.css ‣ display
blank.css display utilities for displaying content
configure
Like all of blank.css, the display utilites are completely configurable using custom media queries, like so:
@);@);@);@);@);
install
npm i -D blank-css-display
use
now you have these classes at your disposal, where
identifier | available |
---|---|
{type} |
show or hide or ib (inline-block) |
{query} |
xs or sm or md or xl |
-
for example, if I wanted to show an a hidden element starting at the sm
query, I'd do this:
My small item
If I wanted the now shown element to hide again at the lg
query, I'd do:
My small item
Mix and match in whichever way you choose.