Skip to content

Instantly share code, notes, and snippets.

@rocketxujia
Last active August 29, 2015 13:57
Show Gist options
  • Save rocketxujia/9797911 to your computer and use it in GitHub Desktop.
Save rocketxujia/9797911 to your computer and use it in GitHub Desktop.
test
.wrap{
height:200px;
background: #f0f0f0;
display: table;
width: 100%;
}
.ui-box-vertical{
display:table-cell;
vertical-align: middle;
background: #999;
}
.ui-box-vertical .content{
background: #666;
}
<div class="wrap">
<!--<span class="blank">&nbsp;</span>-->
<div class="ui-box-vertical">
<div class="content">
test <br />testtest <br />testtest <br />test
</div>
</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment