.cell {
vertical-align: middle;
display: table-cell;
}
html:
<div id="parent">
<div id="child">Content here</div>
</div>
css:
#parent {display: table}
#child {
display: table-cell;
vertical-align: top;
}
IE Fix:
child {display: inline-block}
thead {
display: table-header-group;
vertical-align: middle;
border-color: inherit;
}
Code Example |
---|
Css :: max with in bootstrap 4 |
Css :: css input field focus border |
Css :: css display original image in smalle width |
Css :: css flex |
Css :: datepicker not select future date odoo 13 |
Css :: wrapping links in css |
Css :: 2 scrollbars |
Css :: using css custom properties root |
Css :: vertical sliders css |
Css :: tailwind transition |
Css :: html css how to arrange images of different sizes |
Css :: media query css file |
Css :: css colors |
Css :: advanced selectors in css |
Css :: content-visibility |
Css :: css hide after seconds |
Css :: beautiful scrollbar css |
Css :: how to apply a transition to a child element when hovering over parent element |
Css :: custom cursor |
Css :: save css file to different folder in scss |
Css :: text cow |
Css :: css packer cli |
Css :: how to limit css to min max large screen size |
Css :: exact media screen |
Css :: .quform-sub-label |
Css :: weird box-shadow color input css |
Css :: curfont |
Css :: clippy css |
Css :: ancho maximo css |
Css :: Image not rendering in tailwind css |