Last active
August 29, 2015 14:00
-
-
Save duhseekoh/11404916 to your computer and use it in GitHub Desktop.
For console.blog() post http://consoledotblog.com/2014/04/less-quick-tip-importing-via-reference
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
.article-teaser { | |
.primary-box; | |
} | |
.filter-sidebar { | |
.primary-box; | |
} |
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="article-teaser primary-box">...</div> | |
<div class="filter-sidebar primary-box">...</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
.article-teaser { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} | |
.filter-sidebar { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} |
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
@import (reference) "mixins"; | |
@import "home-view"; |
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
.primary-box { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} | |
.article-teaser { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} | |
.filter-sidebar { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} |
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
@import "mixins"; | |
@import "home-view"; |
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
.primary-box { | |
padding: 20px; | |
margin: 10px; | |
border: 1px solid #CCC; | |
border-radius: 10px; | |
background: #FFF; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment