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

Image may be NSFW.
Clik here to view.

Spin and Go Forth, but Also Please Come Back and Spin

See the Code - See it Full Page - See Details Full demo in latest Chrome, Opera, and Safari (Firefox does not like `calc` in all the places I'm using it... same for Edge (and it is also new to the...

View Article



Image may be NSFW.
Clik here to view.

CSS Variables + Transform (Forked to get working in Edge)

See the Code - See it Full Page - See Details Experiment how CSS Variables affect Transform changes that have Transitions associated with them. You can actually modify translates, rotates, and scales...

View Article

Image may be NSFW.
Clik here to view.

Edge fine with CSS Variables + calc + width

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.

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.

Dance of the Hexagons and Variables

See the Code - See it Full Page - See Details Using CSS Variables and Transitions to manipulate separate transform functions individually. This Pen uses: HTML, CSS, JavaScript, and

View Article


Image may be NSFW.
Clik here to view.

Calc In "Unusual" Places

See the Code - See it Full Page - See Details Run in different browsers to see where calc is supported. Such as Firefox 52 where you can do `translateX(calc(1 * 1vmin))` but cannot do `rotate(calc(1 *...

View Article

Image may be NSFW.
Clik here to view.

CSS Variables + Transform = Individual Properties (with Inputs)

See the Code - See it Full Page - See Details Experiment how CSS Variables affect Transform changes that have Transitions associated with them. You can actually modify translates, rotates, and scales...

View Article

Image may be NSFW.
Clik here to view.

system-ui support?

See the Code - See it Full Page - See Details Chrome has recently added a CSS Font spec addition for `system-ui` which uses the system's UI font. This replaces the need to do something like...

View Article


Image may be NSFW.
Clik here to view.

Animating offset-distance AND offset-path

See the Code - See it Full Page - See Details According to [Chrome Status](https://www.chromestatus.com/feature/5198375053950976) the ability to animate the `offset-path` (in addition to the...

View Article


Image may be NSFW.
Clik here to view.

Pseudo-Independent Transform Properties

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.

Card Themes - CSS Variables

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 Custom Property, Multiple Calcs

See the Code - See it Full Page - See Details Showing how one unitless custom property (css variable) can be used in multiple ways thanks to `calc`. Here one custom property is turned into a...

View Article

Image may be NSFW.
Clik here to view.

Offset Path Anchor and Position

See the Code - See it Full Page - See Details CSS Motion Path (Offset Path) has five properties in the current spec. Path, Rotation, and Distance have all had implementation in Chrome since v46, but...

View Article


Image may be NSFW.
Clik here to view.

Offset Rotate Values

See the Code - See it Full Page - See Details Different Values for offset-rotation, requires Chrome 55 as of 12/2016 This Pen uses: HTML, CSS, JavaScript, and

View Article

Image may be NSFW.
Clik here to view.

Motion Path Infinity

See the Code - See it Full Page - See Details Using an infinity motion path (from http://tympanus.net/Tutorials/SVGLoaderGSAP/index6.html) to animate a number. Uses the CSS Motion Path module, so...

View Article


Image may be NSFW.
Clik here to view.

Spiral Trail... Kinda

See the Code - See it Full Page - See Details Press anywhere to move the boxes to that point... with CSS Variables modifying the separate easings for both X and Y directions to create non-linear...

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.

Delay based on Duration

See the Code - See it Full Page - See Details Using Custom Properties to manage a desire to have all animations to have a delay that is half the duration... and then change the duration. This Pen...

View Article

Image may be NSFW.
Clik here to view.

Single Div Accordion

See the Code - See it Full Page - See Details First attempt at Single Div Art. Wanted to see how Custom Properties (CSS Variables) can help with organization. This Pen uses: HTML, CSS, JavaScript, and

View Article

Image may be NSFW.
Clik here to view.

Single Div Accordion Breakdown: Music Notes

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

View Article
Browsing all 598 articles
Browse latest View live


Latest Images