Skip to content

Instantly share code, notes, and snippets.

Avatar

Richa Avasthi ravasthi

View GitHub Profile
View html5-placeholder.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HTML5 Placeholder</title>
<style type="text/css" media="screen">
html
@ravasthi
ravasthi / ios5-fixed-positioning.html
Created Oct 28, 2011
iOS 5 MobileSafari fixed-positioning + JavaScript scroll bug
View ios5-fixed-positioning.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iOS fixed positioning/JS scroll test</title>
<style type="text/css" media="screen">
html
@ravasthi
ravasthi / css3-foundation-01.txt
Created Oct 27, 2011
How we bootstrap responsive web designs
View css3-foundation-01.txt
styles/
basics/
shared/
styles-compiled/
scripts/
lib/
@ravasthi
ravasthi / back-button-cache-01.conf
Created Oct 24, 2011
Browser back button cache
View back-button-cache-01.conf
Cache-Control: no-cache, max-age=0, must-revalidate, no-store
@ravasthi
ravasthi / wicket-radio-01.html
Created Oct 24, 2011
Radio buttons in Wicket
View wicket-radio-01.html
<input type="radio" name="ticker" value="AAPL"/>Apple<br/>
<input type="radio" name="ticker" value="GOOG"/>Google<br/>
<input type="radio" name="ticker" value="MSFT"/>Microsoft<br/>
@ravasthi
ravasthi / compass-01.html
Created Oct 24, 2011
Compass will change your life
View compass-01.html
<style type="text/css">
.clearfix:after
{
/*clearfix styles here*/
}
#sidebar,
#content
{
float: left
View color-management-01.scss
$old-copper : #6f452b;
$tuscany : #c8653a;
$hurricane : #94847c;
$bone : #e5dbc7;
$pattens-blue : #dde7f3;
$rain-forest : #696f2b;
$lochinvar : #46948d;
$jacarta : #4b2b6f;
$fire : #8a3528;
$azure : #37649b;
You can’t perform that action at this time.