Skip to content

Instantly share code, notes, and snippets.

@skylamer
skylamer / index.html
Created February 25, 2013 18:02
A CodePen by Chris Coyier. Filtered Search RWD Pattern
<form role="search" class="search-form" id="search-form" action="#" method="post">
<section class="search-terms">
<label for="search-term" class="search-term-label screen-reader-text">Search Terms</label>
<div>
<span class="search-term-wrap">
<input type="search" id="search-term" class="search-term">
</span>
<span class="search-term-button-wrap">
<input type="submit" value="Search" class="search-button">
@skylamer
skylamer / robot.js
Created December 7, 2012 15:38 — forked from jaskolek/robot.js
polish robot
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.start = function( ev ){
@skylamer
skylamer / robot.js
Created December 5, 2012 14:38 — forked from Shipow/robot.js
sky forked
var Robot = function(robot) {
robot.rotateCannon(-90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead();
//i'll add a clone but i need to refactor collision
//robot.clone();
};
@skylamer
skylamer / gist:1700894
Created January 29, 2012 21:56
javascript naturalzz
$(document).ready(function())
___
document.addEventListener("DOMContentLoaded", function() {});
///
$("something");
___
document.querySelectorAll("something");
@skylamer
skylamer / dabblet.css
Created January 27, 2012 08:30 — forked from chriscoyier/dabblet.css
Animate to natural width
/* Animate to natural width */
body,html { width:100%;height:100%; background: #111; padding: 33px 0; margin: 0; }
progress {
box-shadow: 0 0 3px 1px white, inset 1px 1px 1px 3px rgba(111,111,111,.33);
border: 3px double #fff;
border-radius: 11px;
color: white;
background: green;
overflow: hidden;
@skylamer
skylamer / HTML-presentation-tools.md
Created January 25, 2012 09:32 — forked from vasilisvg/HTML-presentation-tools.md
HTML presentation tools

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System

@skylamer
skylamer / dabblet.css
Created January 18, 2012 14:17 — forked from levifig/dabblet.css
acko.net 3D object scrolling
/**
* acko.net 3D object scrolling
* <3<3 Steven Wittens
*/
body {
font-family: sans-serif;
}
@skylamer
skylamer / dabblet.css
Created January 18, 2012 14:17 — forked from anonymous/dabblet.css
YouTube Footer Buttons
/*
YouTube Footer Buttons
*/
.button {
border: 1px solid #DDD;
border-radius: 3px;
text-shadow: 0 1px 1px white;
box-shadow: 0 1px 1px #fff;
font: bold 11px Sans-Serif;
@skylamer
skylamer / dabblet.css
Created January 18, 2012 14:16
Conquering Borders: The Bane of Responsive Layouts
/**
* Conquering Borders: The Bane of Responsive Layouts
*/
#container {
width: 90%;
margin: 20px auto;
}
.column {