Skip to content

Instantly share code, notes, and snippets.

@kaleb
kaleb / Constructor.js
Created July 1, 2013 13:40
JavaScript Notes for a friend
function Constructor() {
// Private member only accessible w/in constructor
var privateVariable;
// Can access private members
this.privilegedMethod = function() {
//...
};
}
@kaleb
kaleb / dabblet.css
Created September 17, 2013 20:21 — forked from colynb/dabblet.css
Radio Button Hack - CSS Only
input[type=radio] {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
cursor: pointer;
text-align: center;
font-family: sans-serif;
@kaleb
kaleb / dabblet.css
Created September 17, 2013 20:21
Untitled
[type=radio] {
display:none;
}
span {
cursor: pointer;
text-align: center;
font-family: sans-serif;
font-size: 14px;
font-weight: bold;
@kaleb
kaleb / dabblet.css
Created September 17, 2013 20:25
Untitled
[type=radio] {
display:none;
}
span {
cursor: pointer;
text-align: center;
padding:15px;
background-color: #eee;
border-radius: 100px;
.menu {
background-color:white;
border:1px solid red;
}
<!DOCTYPE html>
<html>
<head>
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" />
<meta charset=utf-8 />
<title>Form Accessibility</title>
</head>
<body>
<div class="container">
<form class="form-horizontal" action="javascript:void 0">
@kaleb
kaleb / designer.html
Created July 10, 2014 20:03
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="kzh-typeahead">
<template>
<style>
:host {
position: absolute;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
</html>
@kaleb
kaleb / .gitmodules
Last active August 29, 2015 14:05
Example Parent Repo
[submodule "sub"]
path = sub
url = [email protected]:/cce0551e8ce7f1856196.git
@kaleb
kaleb / README.md
Created August 27, 2014 11:48
Example Submodule

This is my example git submodule.