Skip to content

Instantly share code, notes, and snippets.

View stanwmusic's full-sized avatar
🏠
Working from home

Stan Williams stanwmusic

🏠
Working from home
View GitHub Profile
@stanwmusic
stanwmusic / Volume-Knobs.markdown
Created March 24, 2014 04:37
A Pen by Stan Williams.

Volume Knobs

This was the product of my dream. Yeah, I actually dreamed of making electric guitar Potentiometer knobs using CSS and HTML. A big help from Chris Coyier on this one. Wow! U R MY Yodah ;)

-Shazam!

A Pen by Stan Williams on CodePen.

License.

@stanwmusic
stanwmusic / CSS-Navigation-Menu.markdown
Created March 24, 2014 12:09
A Pen by Stan Williams.

3D Hover Effect for Images

Description

A simple CSS3 3D experiment showing the conversion of an image into a realistic 3D cuboid on hover with a cool shadow effect.

The bottom surface of the cuboid is made using a pseudo element which inherits the background image of the thumbnail and is positioned perpendicularly to create the 3D box effect.

The second pseudo element uses a translucent background and box-shadow to create a blurred dark shadow for the cuboid. Though CSS blur filter provides better control and visuals for the shadow, we stick to box-shadow because of the lack of support for CSS filters in many browsers.

Automatic full screen image slider made with pure CSS

Automatic full screen image slider made with pure CSS

A Pen by Stan Williams on CodePen.

License.

Facebook API Widget- Grabs json from facebook

Grabs json from facebook and displays it in a simple Handlebars template with easy pie chart.

A Pen by Stan Williams on CodePen.

License.

/*
To use it:
require(['video'], function(Video){
var video = new Video('.video');
// optionally, you can either drag a video file over the .video element
video.playvideo('a valid video url');
});
*/

Music Production Controller (MPC)

This is a Music Production Controller (MPC) build with HTML5 Audio, CSS3 and JavaScript.

Click the pads to hear the drum-sounds.

Keyboard control would be nice.

A Pen by Stan Williams on CodePen.

Music Production Controller (MP) with volume control

This is a Music Production Controller (MPC) build with HTML5 Audio, CSS3 and JavaScript.

Click the pads to hear the drum-sounds.

Keyboard control would be nice.

A Pen by Stan Williams on CodePen.