Template:Box/sandbox
< Template:Box
Jump to navigation
Jump to search
Revision as of 14:16, 8 August 2018 by imported>BrandonXLF
.v-wrap{ height: 100%; white-space: nowrap; text-align: center; } .v-wrap:before{ content: ""; display: inline-block; vertical-align: middle; width: 0; margin-right: -.25em; height: 100%; } .v-box{ display: inline-block; vertical-align: middle; white-space: normal; }
<article class="v-box">
This is how I've been doing it for some time
</article>