Skip to content

Instantly share code, notes, and snippets.

View AntonKL's full-sized avatar
😀

Anton Kjörck Lindén AntonKL

😀
View GitHub Profile
Request URL:https://app.corehub.io/templates/md-dialogs/workshop/participants.html
Request Method:GET
Status Code:200 OK (from cache)
Remote Address:54.192.98.182:443
Response Headers
Accept-Ranges:bytes
Age:2368
Content-Length:802
Content-Type:text/html; charset=utf-8
Date:Mon, 14 Mar 2016 09:09:33 GMT
@import "../../../bower_components/susy/sass/susy"
@import "base/variables"
@import "extends/extends"
@import "mixins/container"
@import "mixins/side-margin"
@import "mixins/clearfix"
@import "base/base"
<script src="https://use.typekit.net/zit0ndg.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
@AntonKL
AntonKL / gist:2e4261d4e967aa107923
Last active December 16, 2015 13:54
Defiso landningssida CSS
/* Färg på navigation + länkfärg i navigation */
.desktop-nav {
background-color: #f7f7f7;
}
.desktop-nav a,
.desktop-nav a:visited {
color: #3d3d3d;
}
@AntonKL
AntonKL / gist:eb0ea3bd713182f5874a
Created September 23, 2015 11:37
Offerta lägger overflow:none på body
#offerta_plugins_ratings_list .noscript-fallback {
display: none;
}
body {
overflow: hidden;
margin: 0;
padding: 0;
}
dataLayer.push({
'event': 'gaTriggerEvent',
'gaEventCategory': 'Försäljning',
'gaEventAction': 'Företagskontakt.se',
'gaEventLabel': 'Köpare: Anders Andresson'
'gaConversionValue': '400' // OBS, inga valutor här
});
@AntonKL
AntonKL / gist:edbf2751d17cd0c7a1b1
Created September 10, 2015 11:09
Tag manager script
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PMN8NR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PMN8NR');</script>
<!-- End Google Tag Manager -->
@AntonKL
AntonKL / gist:8a4f627b89d422a1916c
Created September 10, 2015 11:05
Push event to data layer
dataLayer.push({
'event': 'godtyckligtNamn'
});
<p>Antal kvadrat: </p> <input name="Antal kvadrat" id="squaremeeters" type="text" /> <br />
Summa:<p id="sum"></p>
Summa: (RUT) <p id="sumrut"></p>
$('#squaremeeters').keyup(calculate);
function calculate(e) {
var maths = $('#squaremeeters').val() * 50 ;
$('p#sum').text(maths);
@AntonKL
AntonKL / gist:e4f787d30cae9e686b31
Created October 15, 2014 15:33
Modal dem0 (without js)
<style>
.campaign-modal {
display: none;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,.35);
z-index: 9998;