Skip to content

Instantly share code, notes, and snippets.

View tobaco's full-sized avatar

Torsten Baldes tobaco

View GitHub Profile
<?php
/**
* Custom configuration bootsrtap file for ExpressionEngine
*
* Place config.php in your site root
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php
* If you have moved your site root you'll need to update the require_once path
*
@tobaco
tobaco / dabblet.css
Created October 6, 2012 10:44
Animation-Test
/**
* Animation-Test
*/
body{
background: #f06;
background: linear-gradient(90deg, #f06, yellow);
min-height: 100%;
font-family: Verdana, Arial;
font-size: 12px
}
@tobaco
tobaco / scrollbars.css
Created September 20, 2012 19:10
Style Scrollbars in Webkit (example from dabblet.com)
/**
* Style scrollbars in Webkit
* Warning: nonstandard CSS ahead
*/
::-webkit-scrollbar {
width: 20px;
height: 20px;
}
section.page:not(.focus):not(:hover)::-webkit-scrollbar {
@tobaco
tobaco / dabblet.css
Created September 17, 2012 14:56 — forked from chriscoyier/dabblet.css
F.A.Q
/* F.A.Q */
div { position: relative; }
input[type=radio] {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
@tobaco
tobaco / index.haml
Created September 14, 2012 17:53
No pseudo-elements just gradients.
- (1..3).each do |i|
%div hello