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
border: 20px solid rgba(0,0,0, 0.3); | |
-moz-background-clip: padding; | |
-webkit-background-clip: padding; | |
background-clip: padding-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
zoom: 1; | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; | |
filter: alpha(opacity=50); | |
-moz-opacity: 0.5; | |
-khtml-opacity: 0.5; | |
opacity: 0.5; |
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
::-webkit-input-placeholder{ | |
font-style: italic; | |
} | |
:-moz-placeholder{ | |
font-style: italic; | |
} |
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
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-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
-ms-transform: rotate(-1deg); | |
-moz-transform: rotate(-1deg); | |
-webkit-transform: rotate(-1deg); | |
-o-transform: rotate(-1deg); | |
transform: rotate(-1deg); |
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
-webkit-transition: all 0.4s ease-out; | |
-moz-transition: all 0.4s ease-out; | |
-o-transition: all 0.4s ease-out; | |
-ms-transition: all 0.4s ease-out; | |
transition: all 0.4s ease-out; |
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
var tabbableElements = 'a[href], area[href], input:not([disabled]),' + | |
'select:not([disabled]), textarea:not([disabled]),' + | |
'button:not([disabled]), iframe, object, embed, *[tabindex],' + | |
'*[contenteditable]'; | |
function keepFocus($context){ | |
var $allTabbableElements = $context.find(tabbableElements); | |
var $firstTabbableElement = $allTabbableElements.first(); | |
var $lastTabbableElement = $allTabbableElements.last(); | |
$context.on('keydown', function(event){ |
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
<!--[if lte IE 6]><html class="ie ie6 lte9 lte8 lte7"><![endif]--> | |
<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7"><![endif]--> | |
<!--[if IE 8]><html class="ie ie8 lte9 lte8"><![endif]--> | |
<!--[if IE 9]><html class="ie ie9 lte9"><![endif]--> | |
<!--[if gt IE 9]><html><![endif]--> | |
<!--[if !IE]><!--><html><!--<![endif]--> |
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
/* Source: http://css-tricks.com/snippets/sass/maintain-aspect-ratio-mixin/ */ | |
@mixin aspect-ratio($width, $height) { | |
position: relative; | |
&:before { | |
display: block; | |
content: ""; | |
width: 100%; | |
padding-top: ($height / $width) * 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
// Tell WP everything is up to date | |
add_filter( 'pre_site_transient_update_core', 'le_prevent_update_checks' ); | |
add_filter( 'pre_site_transient_update_plugins', 'le_prevent_update_checks' ); | |
add_filter( 'pre_site_transient_update_themes', 'le_prevent_update_checks' ); | |
function le_prevent_update_checks() { | |
global $wp_version; | |
return (object) array( | |
'last_checked' => time(), |
OlderNewer