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
// Sortable shit | |
$(".connected").sortable({ | |
connectWith: ".connected", | |
items: "> li", | |
placeholder: "sortable-placeholder", | |
revert: 100, | |
tolerance: "pointer", | |
scroll: false, | |
cancel: "[contenteditable], textarea, input", | |
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
These character sets are not exhaustive, but merely a quick reference for common characters. | |
Quotation | |
‘ ‘ \2018 Open single quotation mark | |
’ ’ \2019 Closed single quotation mark / Apostrophe | |
“ “ \201C Open double quotation mark | |
” ” \201D Closed double quotation mark | |
' ' \0027 Typewriter single quotation mark | |
" " \0022 Typewriter double quotation mark | |
′ ′ \2032 Prime (Feet / Minutes) |
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
// Variables | |
$fade: fade; | |
$slideDown: slideDown; | |
$duration: 1s; | |
// Default Animation mixins | |
@mixin animation { | |
-webkit-animation-fill-mode: both; |
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
$darkblue: #0C346B; | |
$lightblue: #1C7AFC; | |
@mixin gradient($from, $to) { | |
background-color: $from; | |
background: -moz-linear-gradient(top, $from 0%, $to 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$from), color-stop(100%,$to)); | |
background: -webkit-linear-gradient(top, $from 0%,$to 100%); | |
background: -o-linear-gradient(top, $from 0%,$to 100%); | |
} |
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
$(".kanye").on("click", function() { | |
$(this).toggleClass("west"); | |
}); |
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
// blog link: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/ | |
@mixin vertical-align { | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%); | |
} |
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
// Bourbon's clear-anything mixin | |
@mixin clearfix { | |
&:after { | |
content:""; | |
display:table; | |
clear:both; | |
} | |
} |
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
// From @chriscoyier | |
// http://css-tricks.com/snippets/css/a-guide-to-flexbox/ | |
@mixin flexbox() { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
} |
OlderNewer