Created
July 10, 2015 18:55
-
-
Save yokuze/d63c7ba6da494eb1e42d 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
<div class="header"> | |
<div class="logo">Logo</div> | |
</div> | |
<div class="sidebar"> | |
Sidebar | |
</div> |
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) | |
// ---- | |
.logo { | |
background-color: blue; | |
width: 50px; | |
height: 50px; | |
line-height: 50px; | |
color: #fff; | |
text-align: center; | |
} | |
.sidebar { | |
background-color: #333; | |
color: #fff; | |
float: right; | |
min-height: 400px; | |
padding: 30px; | |
width: calc(100% - 110px); /* 50px logo + 60px padding = 110px */ | |
} |
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
.logo { | |
background-color: blue; | |
width: 50px; | |
height: 50px; | |
line-height: 50px; | |
color: #fff; | |
text-align: center; | |
} | |
.sidebar { | |
background-color: #333; | |
color: #fff; | |
float: right; | |
min-height: 400px; | |
padding: 30px; | |
width: calc(100% - 110px); | |
/* 50px logo + 60px padding = 110px */ | |
} |
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="header"> | |
<div class="logo">Logo</div> | |
</div> | |
<div class="sidebar"> | |
Sidebar | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment