Skip to content

Instantly share code, notes, and snippets.

View peixian's full-sized avatar
🦝

Peixian Wang peixian

🦝
View GitHub Profile
@peixian
peixian / README.md
Last active December 27, 2015 00:42 — forked from mbostock/.block
Hierarchical Bar Chart

This bar chart visualizes hierarchical data using D3. Each blue bar is a representation of a folder. Data provided by coydoras

@peixian
peixian / index.html
Created September 11, 2012 21:17 — forked from anonymous/index.html
One way of taming nav links gone wild is to transform a list of links into a select menu for small screens. This is a clever way to save real estate.
<!--Pattern HTML-->
<div id="pattern" class="pattern">
<!--Begin Pattern HTML-->
<nav class="navigation" role="navigation">
<ul class="nav-list">
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Locations</a></li>
<li><a href="#">About</a></li>
@peixian
peixian / index.html
Created September 11, 2012 21:17 — forked from anonymous/index.html
Enjoy!
<head>
<meta name="viewport" content="width=device-width">
</head>
<div class="wrap">
<span class="decor"></span>
<nav>
<ul class="primary">
<li>
<a href="">Dog</a>
<ul class="sub">
@peixian
peixian / index.html
Created September 11, 2012 21:17 — forked from anonymous/index.html
Updated version thanks to input from these awesome folks: Druid of Lûhn - http://codepen.io/Druid-of-Luhn Hugo Giraudel - http://codepen.io/HugoGiraudel Kasper Mikiewicz - http://codepen.io/Idered Fixed poor construction (using div's originally), and shi
<div id="bg">
<img src="http://img.skitch.com/20120905-fccfjyqxpxbkrhs6wct3xuyrjf.png" alt="">
</div>
<form>
<div class="title">Login</div>
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<input type="submit" value="Get in there">
</form>
@peixian
peixian / index.html
Created September 11, 2012 21:14 — forked from anonymous/index.html
POC of a share button full css/font
<h1>Hover it</h1>
<div class="main">
<div class="rounded center icon-share"></div>
<div class="share-container rounded">
<a class="share-btn tl icon-google-plus" href='#'></a>
<a class="share-btn tr icon-twitter" href='#'></a>
<a class="share-btn bl icon-pinterest" href='#'></a>
<a class="share-btn br icon-facebook" href='#'></a>
</div>
</div>