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 same($values...){ | |
$length: length($values); | |
$value: nth($values, $length); | |
@for $i from 1 to $length{ | |
#{nth($values, $i)}: $value; | |
} | |
} | |
//Usage: |
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
.button { | |
box-sizing: border-box; | |
background-color: #009DFF; | |
font-family: Lato, 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif; | |
color: #FFF; | |
display: inline-block; | |
font-size: .9em; | |
padding-bottom: 0.5em; | |
padding-left: 0.8em; | |
padding-right: 0.8em; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
tr { | |
border-width: 1px 0px 1px 0px; | |
border-style: solid; | |
border-color: #fff; | |
display: block; | |
} | |
tr:hover { |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
tr { | |
border-width: 1px 0px 1px 0px; | |
border-style: solid; | |
border-color: #fff; | |
display: block; | |
} | |
tr:hover { |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
tr { | |
border-width: 1px 0px 1px 0px; | |
border-style: solid; | |
border-color: #fff; | |
display: block; | |
} | |
tr:hover { |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
tr { | |
border-width:1px 1px 1px 5px; | |
border-style: solid; | |
border-color:#fff; | |
} | |
tr:hover { | |
border-color: red; |
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
<script> | |
angular.directive('tj:focus', function(){ | |
return function(scope, element){ | |
element[0].focus(); | |
}; | |
}); | |
</script> | |
<div> | |
<input type="text" ng:model="model" tj:focus /> |
NewerOlder