





CSS Gradient Rounded Borders
This example shows how CSS gradients can be applied to a rounded border.

CSS Gradient Clip-Path Borders
This example shows how the CSS clip-path property can be used to create a variety of shaped gradient borders.

Sketchy Border
Using 8 border-radius values can be pretty dope. This example shows how using it on the element and its ::before pseudo element can create a sketchy look and feel.




Search Input Animation
Search input animation (pure css, without svg). Added variables for width, height and border-width, so now you can easily change overall dimensions of this search input. This demo have only one problem - no input autofocus after opening click.

Western Electric Big Button Phone
A recreation of the Western Electric Big Button phone produced in the 1970s. Recreated using flexbox, grid, text shadows, and text strokes. This pen encountered several CSS quirks. First, is that setting a border-radius and overflow: hidden breaks anti-aliasing on the border-radius, leaving a jagged appearance. This was worked around a bit by adding a very soft light box-shadow on the side that has the border-radius. This alleviates the problem somewhat. Second, text-stroke is still crudely implemented in browsers. All text strokes are drawn on the outside of the glyph which changes the shape of the glyph. Additionally, text shadows are sized using the inside of the glyph and end up smaller. To work around this, I oversized the text-stroke and then tried to position each glyph so that the stroke slightly overflowed the container and was cut off. This gives a smoother appearance, but is imprecise and cuts a few of the characters off.



Webandcrafts Logo – Pure CSS
WebandCrafts logo designed with border-radius, box-shadow and CSS transforms. Click the logo for exploded view.


equal-height-borders
A CSS extension for Bootstrap that adds equal height borders to Bootstrap columns.
