Skip to content

Instantly share code, notes, and snippets.

@LeoUfimtsev
Created June 1, 2013 19:06
Show Gist options
  • Save LeoUfimtsev/5691390 to your computer and use it in GitHub Desktop.
Save LeoUfimtsev/5691390 to your computer and use it in GitHub Desktop.
Side by side
/** Side by side
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.bigbox {
width: 200px;
height: 200px;
background: linear-gradient(45deg, yellow, green);
min-heihgt:100%;
}
.smallboxFloatRight {
width: 100px;
height: 100px;
background: linear-gradient(20deg, orange, red);
float: right;
}
.leftText {
width: 100px;
height: 100px;
float: left;
}
<body>
<div class="bigbox">
<span class="leftText"> hello world how are you doing </span>
<div class="smallboxFloatRight"> </div>
</div>
</body>
// alert('Hello world!');
{"view":"separate","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