Skip to content

Instantly share code, notes, and snippets.

@rocketxujia
Created January 14, 2014 02:02
Show Gist options
  • Save rocketxujia/8411786 to your computer and use it in GitHub Desktop.
Save rocketxujia/8411786 to your computer and use it in GitHub Desktop.
Untitled
.min {
min-height: 100px;
height:auto !important;
height: 100px;
}
.min-width {
min-width: 100px;
width:auto !important;
width: 100px;
}
div{ border: 1px solid red; margin: 16px;}
<div class="min">最小高度兼容: 100px <br />最小高度兼容: 100px 最小高度兼容: <br />100px 最小高度兼容: 100px 最小高度兼容: 100px 最小高度兼容: 100px 最小高度兼容: 100px </div>
<div class="min-width">最100px </div>
{"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