Skip to content

Instantly share code, notes, and snippets.

View raphaelgoetter's full-sized avatar

Raphael Goetter raphaelgoetter

View GitHub Profile
@bendc
bendc / holy-grail.html
Last active December 15, 2017 19:50
Holy Grail Layout using CSS Grid
<!doctype html>
<title>Holy Grail Layout</title>
<style>
body {
display: grid;
grid-template-rows: 100px 1fr 100px;
grid-template-columns: 200px 1fr 200px;
min-height: 100vh;
margin: 0
@eQRoeil
eQRoeil / snippets-twig.json
Last active January 27, 2017 10:46
Brackets : Emmet snippets pour Twig
{
"html": {
"filters":"html",
"extends":"html",
"snippets": {
"t_v": "{{ ${cursor} }}",
"t_c": "{# ${cursor} #}\n",
"t_block": "{% block $1 %}\n\t$2\n{% endblock %}\n",
"t_extends": "{% extends $1 %}",
"t_parent": "{{ parent() }}",
anonymous
anonymous / .pleeeaserc
Created April 30, 2014 19:41
Created with Gistr for Brackets.iohttps://github.com/LucasKA/Gistr
{
"output": "styles.min.css",
"autoprefixer": true,
"minifier": false,
"mqpacker": true,
"fallbacks": {
"variables": true,
"rem": ["62.5%", {"replace": false}],
"pseudoElements": true
}
@stephanie-walter
stephanie-walter / toggleClassRawJS
Last active December 16, 2015 19:19
Toggle Class in RAW JavaScript when element is clicked (for menu purpose here)
function changeClass(elem,className1,className2){
elem.className = (elem.className == className1)?className2:className1;
}
document.getElementById('menutoggle').onclick = function() {
changeClass(this, 'navtoogle active', 'navtoogle');
}
// Many thanks to https://twitter.com/Martel_Louis