Quantcast
Channel: Pens from Dan Wilson
Browsing all 599 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Edge bug (?) with CSS Variables + calc + translate

See the Code - See it Full Page - See Details Thought a lot of demos (most of the ones in [this specialized Custom Properties collection](http://codepen.io/collection/npNMYb/)) were broken in...

View Article


Image may be NSFW.
Clik here to view.

CSS Keyframes v. WAAPI

See the Code - See it Full Page - See Details Compare look and performance of CSS Keyframes vs. WAAPI This Pen uses: HTML, SCSS, JavaScript, and

View Article


Image may be NSFW.
Clik here to view.

Single Div Accordion (Animated with CSS Variables) (& no JS)

See the Code - See it Full Page - See Details This is a fork of my Single Div Accordion that has less broad browser support... but only uses CSS for all the animations. The original uses...

View Article

Image may be NSFW.
Clik here to view.

Single Div Accordion Breakdown: Keyboard

See the Code - See it Full Page - See Details This Pen uses: HTML, CSS, JavaScript, and

View Article

Image may be NSFW.
Clik here to view.

Single Div Animation Options

See the Code - See it Full Page - See Details Different ways to combine Custom Properties with `requestAnimationFrame` This Pen uses: HTML, CSS, JavaScript, and

View Article


Image may be NSFW.
Clik here to view.

Quick Toggles

See the Code - See it Full Page - See Details This Pen uses: HTML, CSS, JavaScript, and

View Article

Image may be NSFW.
Clik here to view.

Single Div Accordion (Animated with CSS Variables)

See the Code - See it Full Page - See Details Single Div Art - Wanted to see how Custom Properties (CSS Variables) can help with organization and animation. A Squeezebox seemed appropriate. I am in...

View Article

Image may be NSFW.
Clik here to view.

Illusion of Motion

See the Code - See it Full Page - See Details In the vein of kinegrams: There is a "Cover" that is a repeating linear gradient of 1px transparent and 5px black. This translates infinitely, either in...

View Article


Image may be NSFW.
Clik here to view.

Single Div Piano Keys

See the Code - See it Full Page - See Details Test for support of changing Custom Properties in Keyframes (in the context of a single div gradient piano). Seems to work in latest Chrome (as of May...

View Article


Image may be NSFW.
Clik here to view.

Illusion of Motion (How To Animation)

See the Code - See it Full Page - See Details Breakdown of how [the Illusion of Motion](https://codepen.io/danwilson/pen/GmwjYp/) is made This Pen uses: HTML, CSS, JavaScript, and

View Article

Image may be NSFW.
Clik here to view.

Moon from "Sarah and Duck" (Coded SVG)

See the Code - See it Full Page - See Details Hand-coded SVG for Moon from the BBC kids show [Sarah and Duck](https://en.wikipedia.org/wiki/Sarah_%26_Duck) (also on Netflix US). Practice for writing...

View Article

Image may be NSFW.
Clik here to view.

Illusion of Motion

See the Code - See it Full Page - See Details In the vein of kinegrams: There is a "Cover" that is a repeating linear gradient of 1px transparent and 5px black. This translates infinitely, either in...

View Article

Image may be NSFW.
Clik here to view.

Falling Letters (Stage)

See the Code - See it Full Page - See Details I remember playing a game on the Commodore 64 with letters that fell and you had to press the corresponding key before it reached the ground. I think...

View Article


Image may be NSFW.
Clik here to view.

Pyramids (Square Base)

See the Code - See it Full Page - See Details Clip Path and 3D Transformations to make a pyramid. Will be cleaning up to simplify and rely more on CSS Variables. This Pen uses: HTML, CSS, JavaScript,...

View Article

Image may be NSFW.
Clik here to view.

Reminding myself about pixeldensity media queries

See the Code - See it Full Page - See Details This Pen uses: HTML, CSS, JavaScript, and

View Article


Image may be NSFW.
Clik here to view.

Steps vs Frames

See the Code - See it Full Page - See Details Chrome 60 and Firefox Dev Edition (& Nightly) (55+) both have support for the `frames()` timing function. It behaves similarly to `steps`but allows...

View Article

Image may be NSFW.
Clik here to view.

Single Div Accordion (Animated with CSS Variables)

See the Code - See it Full Page - See Details Single Div Art - Wanted to see how Custom Properties (CSS Variables) can help with organization and animation. A Squeezebox seemed appropriate. I am in...

View Article


Image may be NSFW.
Clik here to view.

Scrub Multiple Animations in WAAPI

See the Code - See it Full Page - See Details Using an input[type=range] to act like a timeline control for five separate animations. Viewable in latest Firefox (better in dev/nightly), Chrome, Opera...

View Article

Image may be NSFW.
Clik here to view.

Scrub Single Animation in WAAPI

See the Code - See it Full Page - See Details Using an input[type=range] to act like a timeline control for five separate animations. Viewable in latest Firefox (better in dev/nightly), Chrome, Opera...

View Article

Image may be NSFW.
Clik here to view.

In the Spotlight

See the Code - See it Full Page - See Details CSS Variables + Mix Blend Mode to move a spotlight around an image below This Pen uses: HTML, CSS, JavaScript, and

View Article
Browsing all 599 articles
Browse latest View live