Skip to content

Instantly share code, notes, and snippets.

@zincplusplus
Created January 13, 2012 13:24
Show Gist options
  • Save zincplusplus/1606101 to your computer and use it in GitHub Desktop.
Save zincplusplus/1606101 to your computer and use it in GitHub Desktop.
Untitled
.fbox {
white-space: nowrap;
width: 400px;
border: 1px solid black;
padding-right: 60px;
}
.fbox div {
display: inline-block;
background: red;
position:relative;
}
.c1 { width: 60%; }
.c2 { width: 60px; }
.c3 { width: 40%; }
<div class="fbox">
<div class="c1">1</div><div class="c2">2</div><div class="c3">3</div>
</div>
final
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment