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
//Is it possible to extend placeholder classes and their nested compound selectors? | |
%list { | |
margin: 12px 0; | |
&__item { | |
padding: 0 5px; | |
} | |
} | |
.main { |
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
.videoWrapper { | |
position: relative; | |
padding-bottom: 56.25%; /* 16:9 */ | |
padding-top: 0px; /* You can add the interface buttons' room here if any */ | |
height: 0; | |
} | |
.videoWrapper iframe { | |
position: absolute; | |
top: 0; |
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
/* | |
* Vertical Rhythmn in Sass with helpful mixins and helpers | |
* Author: Gaya Kessler | |
* Version: 0.0.2 | |
* Date: 2014-11-20 | |
*/ | |
@if variable-exists(base-font-size) == false { | |
$base-font-size: 16px; | |
} |
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
global $post; | |
$post = get_post($id); | |
setup_postdata($post); | |
global $more; | |
$more = 1; | |
$content = get_the_content(false); |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin admin-bar { | |
$selector: &; | |
@at-root { | |
body.admin-bar { | |
#{$selector} { | |
@content; |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin prepend-selector($pre-selector) { | |
$selector: &; | |
@at-root { | |
#{$pre-selector} { | |
#{$selector} { | |
@content; |
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
/* | |
* Short jQuery method of making placeholders for all the browsers. | |
* | |
* Use the following HTML markup to make this work: | |
* <input type="text" class="placeholder" value="Your name" data-standard="Your name" /> | |
*/ | |
$(".placeholder").focus(function () { | |
if ($(this).val() == $(this).attr("data-standard")) { | |
$(this).val("").addClass("active"); //Add class for other styling |
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[href=#]").each(function () { | |
console.log(this); | |
}); |
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.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
.michiel { | |
color: #ffffff; | |
} | |
.gaya { |
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 vatchecker = { | |
img: "", | |
req: "", | |
vat_checking: "", | |
init: function () { | |
vatchecker.vat_checking = $("#vat_checking .validated"); | |
$("#vat_nr_check").keyup(function () { | |
var country = "BE"; |
OlderNewer