Compass Display Helpers

Helper functions for working with the display property.

elements-of-type($display)

The following display values exist and will return the elements listed below the display value.

Display Value
Elements Returned
table-cell
td, th
list-item
li
block
address, article, aside, blockquote, center, dd, details, dir, div, dl, dt, fieldset, figcaption, figure, footer, form, frameset, h1, h2, h3, h4, h5, h6, header, hgroup, hr, isindex, menu, nav, noframes, noscript, ol, p, pre, section, summary, ul
html5-block
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary
html5
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, mark, menu, meter, nav, output, progress, rp, rt, ruby, section, summary, time, video, wbr
table-row-group
tbody
html5-inline
audio, canvas, command, datalist, embed, keygen, mark, meter, output, progress, rp, rt, ruby, time, video, wbr
table-header-group
thead
table-footer-group
tfoot
table
table
table-row
tr
inline
a, abbr, acronym, audio, b, basefont, bdo, big, br, canvas, cite, code, command, datalist, dfn, em, embed, font, i, img, input, kbd, keygen, label, mark, meter, output, progress, q, rp, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, textarea, time, tt, u, var, video, wbr
inline-block
img