Created
November 2, 2015 10:34
-
-
Save tow8ie/f78fbc6fe38fca59f821 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.layout-container | |
.input | |
.edit | |
.output | |
%br | |
.layout-container.input-open | |
.input | |
.edit | |
.output | |
%br | |
.layout-container.output-open | |
.input | |
.edit | |
.output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
.layout-container { | |
display: flex; | |
} | |
.input-open { | |
transform: translate(180px); | |
} | |
.output-open { | |
transform: translate(-180px); | |
} | |
.input { | |
height: 100px; | |
background-color: green; | |
width: 200px; | |
margin-left: -180px; | |
} | |
.edit { | |
height: 100px; | |
background-color: red; | |
flex-grow: 1; | |
} | |
.output { | |
height: 100px; | |
background-color: blue; | |
width: 200px; | |
margin-right: -180px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0; | |
padding: 0; | |
} | |
.layout-container { | |
display: flex; | |
} | |
.input-open { | |
transform: translate(180px); | |
} | |
.output-open { | |
transform: translate(-180px); | |
} | |
.input { | |
height: 100px; | |
background-color: green; | |
width: 200px; | |
margin-left: -180px; | |
} | |
.edit { | |
height: 100px; | |
background-color: red; | |
flex-grow: 1; | |
} | |
.output { | |
height: 100px; | |
background-color: blue; | |
width: 200px; | |
margin-right: -180px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='layout-container'> | |
<div class='input'></div> | |
<div class='edit'></div> | |
<div class='output'></div> | |
</div> | |
<br> | |
<div class='layout-container input-open'> | |
<div class='input'></div> | |
<div class='edit'></div> | |
<div class='output'></div> | |
</div> | |
<br> | |
<div class='layout-container output-open'> | |
<div class='input'></div> | |
<div class='edit'></div> | |
<div class='output'></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment