A Pen by erikpantzar on CodePen.
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
// Mixin to fix all prefixed versions to style placeholder :) | |
// source https://github.com/michaelsacca/Compass-Placeholder-Text-Mixin | |
@mixin input-placeholder { | |
&.placeholder { @content; } | |
&:-moz-placeholder { @content; } | |
&::-moz-placeholder { @content; } | |
&:-ms-input-placeholder { @content; } | |
&::-webkit-input-placeholder { @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
(function () { | |
/* | |
The trigger: | |
have the attribute: data-toggle-target= CLASSNAME | |
Then you can toggle All you waNtz | |
Close button: | |
Set the data-close-target and the class of things you want to hide | |
*/ |
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
<div class="product-item"> | |
<img src="" class="product-item-image" alt="" /> | |
<h2 class="product-item-title"> PL01 Men’s Pullover </h2> | |
<div class="product-item-layer"> | |
<div class="product-item-excerpt"> | |
<p><strong>Produktkod:</strong> PW04</p> | |
<p>Modern passform<br> | |
Förstärkt nacksöm<br> | |
Snygga detaljer</p> |
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
<?php | |
$_template = 'retailerlist'; | |
$fields_content = new \CWP\FieldContainer($_template . "_settings", array( | |
'meta_box' => \CWP\MetaBox::Get('page_settings', array( | |
'title' => 'Sidinställningar', | |
'priority' => 'high', | |
'context' => 'side', | |
'none' => 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
(function($) { | |
var onPageUrl = window.location.href; | |
var domain = window.location.host; | |
// all links ending with .pdf | |
$('a[href$=".pdf"]').on('click', trackPDF); | |
// all links beginning with "http" (might be https) |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>FBuzzz</title> | |
</head> | |
<body> | |
<script type="text/javascript"> |
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
/* | |
I've come across some abuse of poor ole Sass files | |
that has put it in bad shade for some developers out there. | |
(This also applies to JavaScript and alot of other things that | |
aren't really taught in school, and is self-learned good and bad) | |
Thought I'd explain my take on it. The good and bad parts | |
*/ | |
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
.share-container { | |
float: left; | |
display: block; | |
a { | |
$link-size: 30px; | |
width: $link-size; | |
height: $link-size; | |
line-height: $link-size; | |
display: inline-block; | |
} |
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
{ | |
"id": "0", | |
"time": "1434443853378", | |
"name": "Erik Pantzar, Front end developer", | |
"shapedata": { | |
"layer1": { | |
"form": "img", | |
"src": "< DATA URI HERE >" | |
}, | |
"layer2": { |
OlderNewer