Skip to content

Instantly share code, notes, and snippets.

View ultim8k's full-sized avatar
🛠️
Rock & roll!

Kostas Kapenekakis ultim8k

🛠️
Rock & roll!
View GitHub Profile
@ultim8k
ultim8k / dabblet.css
Created March 1, 2013 00:50
Selected elements :after
/**
* Selected elements :after
*/
pre{
position: relative;
padding: 10px 50px 10px 10px;
border-radius:10px;
background-color: #2f2d2a;
border: 2px solid #333;
font-size: 12px;
@ultim8k
ultim8k / test12.md
Last active December 14, 2015 11:49
test12a

test12

@ultim8k
ultim8k / dabblet.css
Created March 5, 2013 11:07
CheckBox Hack
/**
* CheckBox Hack
*/
.field-container{
display:table;
margin: 150px auto;
background-color: rgba(30,70,150,0.5);
padding:10px;
}
.checkbox-fuction{
@ultim8k
ultim8k / dabblet.css
Created March 7, 2013 16:33
CheckBox Hack
/**
* CheckBox Hack
*/
.field-container{
position:relative;
display:table;
margin: 150px auto;
background-color: rgba(30,70,150,0.5);
padding:10px;
}
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.net/jquery/?autocomplete)
*
@ultim8k
ultim8k / dabblet.css
Created March 7, 2013 18:16
SelectBox hack
/**
* SelectBox hack
*/
body{
background-color: rgba(30,70,150,0.5);
font-family:Arial;
}
.cnt{
width:200px;
margin:150px auto;
@ultim8k
ultim8k / dabblet.css
Created April 9, 2013 13:13
True Grid
/**
* True Grid
*/
/* -------------------------------- *\
$TRUE_GRID $TBG
\* -------------------------------- */
.row-true-grid { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.row-true-grid:before,
.row-true-grid:after { display: table; line-height: 0; content: ""; } /* Clearfix */
@ultim8k
ultim8k / dabblet.css
Created May 19, 2013 01:10
Greek village sign
/**
* Greek village sign
*/
.ntabela {
margin:50px auto;
width: 200px;
-webkit-transform: rotate(-5deg);
-moz-transform: rotate(-5deg);
transform: rotate(-5deg);
@ultim8k
ultim8k / js_app_template.js
Last active December 17, 2015 23:38
A simple javascript app template :)
/**
* A simple javascript app template;
*/
// assuming your app is called app
var app = {
settings: {
example : true,
example2: ''
},
myfunction: function(){
@ultim8k
ultim8k / function.js
Last active December 18, 2015 12:49
A simple javascript function template
/**
* A simple javascript function template;
*/
// Define the function
var functionName = function(args){
var options;
var exec;
if (typeof arguments[0] == "object") {
options = arguments[0];