Skip to content

Instantly share code, notes, and snippets.

@ToDou
ToDou / dabblet.css
Created December 11, 2017 09:41 — forked from csssecrets/dabblet.css
Animated pie chart
/**
* Animated pie chart
*/
.pie {
width: 100px; height: 100px;
border-radius: 50%;
background: yellowgreen;
background-image: linear-gradient(to right, transparent 50%, currentColor 0);
color: #655;
@ToDou
ToDou / dabblet.css
Created November 30, 2017 11:01 — forked from csssecrets/dabblet.css
Untitled
<svg width="100" height="100"> <circle r="25" cx="50" cy="50" />
</svg>
circle {fill: yellowgreen;stroke: #655;stroke-width: 50;stroke-dasharray: 60 158; /* 2π × 25 ≈ 158 */}
@ToDou
ToDou / dabblet.css
Created November 30, 2017 08:48 — forked from csssecrets/dabblet.css
Vertical stripes
/**
* Vertical stripes
*/
background: linear-gradient(#fb3 50%, #58a 0);
background-size: 10% 100%;
@ToDou
ToDou / dabblet.css
Last active November 30, 2017 07:03 — forked from csssecrets/dabblet.css
Untitled
background: #655;
background-image: radial-gradient(tan 20%, transparent 0),
radial-gradient(tan 20%, transparent 0);
background-size: 30px 30px;
background-position:0 0, 15rpx 15rpx;
@ToDou
ToDou / dabblet.css
Created November 30, 2017 06:20 — forked from csssecrets/dabblet.css
Inner rounding
/**
* Inner rounding
*/
div {
linear-gradient(#fb3, #58a); }
@ToDou
ToDou / dabblet.css
Last active November 23, 2017 10:23 — forked from csssecrets/dabblet.css
Polka dot
/**
* Polka dot
*/
background: #655;
background-image: radial-gradient(tan 20%, transparent 0);
background-size: 30px 30px;
background-position: 0 0, 15px 15px;