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="container--micro"> | |
<!-- The style attributes only for the purpose of the demo --> | |
<div style="float: left; height: 100px; background: #0f0;"> | |
content | |
</div> | |
<div style="float: left; height: 100px; background: #00f;"> | |
content | |
</div> | |
</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
// Sass: Resolving component dependencies | |
// Other ideas: https://github.com/whizark/xass#ideas | |
// The storage for dependency management | |
$container: ( | |
-components: (), | |
-frozen: () | |
); |
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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
// Sass: Resolving component dependencies | |
// An improved version of https://gist.github.com/whizark/51ccdfbf57dbcb73953f | |
// Other ideas: https://github.com/whizark/xass#ideas |
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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
// Sass: Creating new scope & instance variable/method in Sass | |
// | |
// Other ideas: https://github.com/whizark/xass#ideas | |
// This is pseudo code |
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
<a class="button">A button</a> | |
<button class="button">Button button</button> | |
<a class="button-large">A button</a> | |
<button class="button-large">Button button</button> |
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
<ul class="vertical-list"> | |
<li class="vertical-list\item">Item</li> | |
<li class="vertical-list\featured-item">Item</li> | |
<li class="vertical-list\item">Item</li> | |
</ul> | |
<ul class="horizontal-list"> | |
<li class="horizontal-list\item">Item</li> | |
<li class="horizontal-list\featured-item">Item</li> | |
<li class="horizontal-list\item">Item</li> |
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
<ul class="horizontal-list"> | |
<li class="horizontal-list\item">Item</li> | |
<li class="horizontal-list\item">Item</li> | |
<li class="horizontal-list\item">Item</li> | |
</ul> |
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
<p class="test-1-1">.test-1-1</p> | |
<p class="test-1-2">.test-1-2</p> | |
<p class="test-2-1">.test-2-1</p> | |
<p class="test-2-2">.test-2-2</p> | |
<p class="test-3-1">.test-3-1</p> | |
<p class="test-3-2">.test-3-2</p> | |
<p class="test-4-1">.test-4-1</p> | |
<p class="test-4-2">.test-4-2</p> |
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
<a class="button">A</a> | |
<button class="button">button</button> | |
<a class="button-2">A</a> | |
<button class="button-2">button</button> |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
// Sass: Typed value with the descriptor. | |
// | |
// Typed value factory & validator using Map | |
// https://gist.github.com/whizark/b42f5d52c3caa2ad5f43 | |
// |