suitcss-utils-display
Version:
Display utilities for SUIT CSS
54 lines (43 loc) • 920 B
CSS
/**
* @define utilities
* Display-type utilities
*/
.u-block {
display: block ;
}
.u-hidden {
display: none ;
}
/**
* Completely remove from the flow but leave available to screen readers.
*/
.u-hiddenVisually {
border: 0 ;
clip: rect(1px, 1px, 1px, 1px) ;
height: 1px ;
overflow: hidden ;
padding: 0 ;
position: absolute ;
width: 1px ;
}
.u-inline {
display: inline ;
}
/**
* 1. Fix for Firefox bug: an image styled `max-width:100%` within an
* inline-block will display at its default size, and not limit its width to
* 100% of an ancestral container.
*/
.u-inlineBlock {
display: inline-block ;
max-width: 100%; /* 1 */
}
.u-table {
display: table ;
}
.u-tableCell {
display: table-cell ;
}
.u-tableRow {
display: table-row ;
}