Skip to content

Instantly share code, notes, and snippets.

Coffee first development

Fabian Tempel trilodge

Coffee first development
View GitHub Profile
trilodge / settings.json
Last active Nov 10, 2017
M$ VSCode config file
View settings.json
"workbench.colorTheme": "Cobalt2",
"typescript.check.npmIsInstalled": false,
"editor.fontSize": 13,
"editor.fontFamily": "Fira Mono",
"editor.tabSize": 2,
"editor.detectIndentation": true,
"editor.fontLigatures": true,
"files.insertFinalNewline": false,
"files.trimTrailingWhitespace": true,
trilodge / Gruntfile.js
Last active May 17, 2017
Grunt Setup of Stylelint linting SCSS-Files based on postcss-scss and postcss-reporter
View Gruntfile.js
var path = require('path');
var fs = require('fs');
module.exports = function (grunt) {
'use strict';
pkg: grunt.file.readJSON('package.json'),
trilodge / mobile-webkit.css
Last active Jan 2, 2016
some (mobile) webkit specific resets and adjustments. sort of.
View mobile-webkit.css
* {
/* should only be used on mobile webkit browser cause it disables zoom on webkit desktop browsers */
-webkit-text-size-adjust: none;
-webkit-text-stroke: 0;
/* works with safari5+ and iOS4+ */
-webkit-font-smoothing: antialiased;
/* */
trilodge / SassMeister-input-HTML.html
Last active Aug 29, 2015
Generated by
View SassMeister-input-HTML.html
<div class="row row--alt survey_chbx">
<input id="policy" type="checkbox" name="policy" class="checkbox" required>
<label for="policy"><em title="Pflichtfeld">*</em> Ich bin mit den <a href="#">Nutzungsbedingungen</a> sowie mit der
<a href="#">Erhebung meiner Daten</a> einverstanden.
trilodge / index.html
Created Apr 15, 2015
Box-Shadow bug on iPhone 6 plus with iOS 8.3 and 8.4 beta
View index.html
<div class="box">Setting the "spread" value in box-shadow disables the rendering of box-shadow on iphone 6 plus</div>
<div class="box1">Setting a background-color with rgba and an alpha value other than 1 disables the rendering of box-shadow on iphone 6 plus</div>
<div class="box2">Box-shadow should be displayed as it should</div>
<p>If you need both values and still want to have a box-shadow, setting border-radius: .1px; is the workaround you will need.</p>
<p>Tested on iphone 6 plus and iOS 8.3 and 8.4 beta</p>