This file contains hidden or 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
| @mixin i-b($v-a) { | |
| display: inline-block; | |
| vertical-align: $v-a; | |
| zoom: 1; | |
| *display: inline; | |
| } |
This file contains hidden or 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
| @mixin stretching-pos($type-pos: absolute) { | |
| left: 0;top: 0;right: 0;bottom: 0; | |
| position: $type-pos; | |
| } | |
| @mixin stretching-hw($type-pos: absolute) { | |
| height: 100%; width: 100%; | |
| position: $type-pos; | |
| } |
This file contains hidden or 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
| @mixin stretching-pos($type-pos: absolute) { | |
| left: 0;top: 0;right: 0;bottom: 0; | |
| position: $type-pos; | |
| } | |
| @mixin stretching-hw($type-pos: absolute) { | |
| height: 100%; width: 100%; | |
| position: $type-pos; | |
| } |
This file contains hidden or 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
| .gmap-icons, .gm-style { | |
| img {max-width: none;} | |
| } |
This file contains hidden or 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
| @function strip-unit($num) { | |
| @return $num / ($num * 0 + 1); | |
| } | |
| @mixin rem-fallback($property, $values...) { | |
| $max: length($values); | |
| $pxValues: ''; | |
| $remValues: ''; | |
| @for $i from 1 through $max { |
This file contains hidden or 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
| html { | |
| font-size: 62.5%; /* 1 */ | |
| } | |
| @function parseInt($n) { /* 2 */ | |
| @return $n / ($n * 0 + 1); | |
| } | |
| @mixin rem($property, $values) { | |
| $px : (); /* 3 */ |
This file contains hidden or 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
| .like-inline:after { | |
| content: '\A'; | |
| white-space: pre; | |
| } |
This file contains hidden or 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
| // Quantity 6 | |
| li:nth-last-child(6):first-child, | |
| li:nth-last-child(6):first-child ~ li { | |
| /* rules */ | |
| } | |
| // The advantage of :nth-last-of-type(), |
This file contains hidden or 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
| -webkit-column-break-inside: avoid; | |
| page-break-inside: avoid; /* Makes effect only in Firefox */ | |
| break-inside: avoid; /* IE10+, Opera 11.1—12.1 */ |
This file contains hidden or 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
| .fave { | |
| width: 100px; | |
| height: 100px; | |
| background: url(images/sprite.png) no-repeat; | |
| background-position: 0 0; | |
| } | |
| .fave:hover { | |
| background-position: -5500px 0; | |
| transition: background 1s steps(55); |