Skip to content

Instantly share code, notes, and snippets.

@amirnaeem
amirnaeem / fKDFp.markdown
Created September 21, 2014 17:10
A Pen by David Torres.
@amirnaeem
amirnaeem / One-div-CSS-camera.markdown
Created September 21, 2014 17:06
A Pen by Amir Naeem.
@amirnaeem
amirnaeem / index.haml
Created September 21, 2014 16:55
A Pen by Cameron.
%section
%ul
%li
-5.times do
.signal
%li
AT&T
%li
<i class="fa fa-wifi"></i>
%li

CSS Shapes experiment (webkit only)

** Please refresh if you resize :) I may update to auto resize soon. **

I wanted to do something with CSS shapes so here it is. If you don't know what CSS Shapes are about then check out http://alistapart.com/article/css-shapes-101. There is little browser support for shapes right now so this is a Chrome/Safari only demo.

This layout/interaction was very heavily inspired cough cough by this site http://www.mcdonalds.co.uk/ukhome/testing/favourites-awards.html which was built by talented folks at http://www.goodboydigital.com/. Their implementation is in Canvas which is BY ALL MEANS the way to go for this sort of thing in production. I just wanted to give a glimpse in to the possibility of a future where we can literally bend DOM elements to our Will with CSS (also, I am a crazy person, clearly).

A Pen by Rachel Smith on CodePen.

@amirnaeem
amirnaeem / index.html
Created September 21, 2014 16:53
A Pen by Domas Makšimas.
<button class='push-button'>push it</button>

Pop-up with blurred background animation

Here's a popup that appears while blurring out the body underneath. click the 'X' close on the popup and the blur transition back while the popup fades off.

Suitable for sites that may want a nag (perhaps for donation or subscription services) or could be re-purposed as a general modal or lightbox.

Uses CSS3 Filter (for blur) and CSS3 Animation for blur transitions. The jQuery is minimal in this iteration, simply used to fade in the pop-up and add and remove the CSS3 classes for blurring.

A Pen by Benjamin Dalton on CodePen.

@amirnaeem
amirnaeem / Suttell-Line-Animation.markdown
Created September 21, 2014 16:51
A Pen by Isaac Suttell.

Suttell Line Animation

Animates the strokes of a svg using dasharray and dashoffset to make it appear like its being drawn. Uses bounce easing to add a slight forceful effect.

A Pen by Isaac Suttell on CodePen.

License.

@amirnaeem
amirnaeem / Loading-Square.markdown
Created September 21, 2014 16:48
A Pen by Josh.

Loading Square

This square spins and fills. It wants to be cool like all of the other squares.

A Pen by Josh on CodePen.

License.

2 Sided Digital Business Card

Seen a lot of these, and just wanted to do my take on one. Pssst...click the profile icon. The background image uses a CSS filter, so it's the same image that is behind the avatar. Managed to get rid of the white edges that come with this by offsetting the position and adding to the width.

A Pen by Jesse Couch on CodePen.

License.

@amirnaeem
amirnaeem / Circular-Clalendar.markdown
Created September 21, 2014 16:45
A Pen by Gartempe.