Skip to content

Instantly share code, notes, and snippets.

View ui-coder's full-sized avatar
🏠
Working from home

htmlstrap ui-coder

🏠
Working from home
  • Chisinau, Rep. of Moldova
View GitHub Profile
@ui-coder
ui-coder / dabblet.css
Created November 23, 2017 06:31 — forked from anonymous/dabblet.css
Print `calc` result
/**
* Print `calc` result
*/
.block::before {
--a: 4;
--b: 5;
counter-reset: number calc(var(--a) * var(--b));
content: "4 × 5 = " counter(number);
}
@ui-coder
ui-coder / dabblet.css
Last active November 22, 2017 15:26 — forked from LeaVerou/dabblet.css
Pounding heart animation
/* Pounding heart animation */
@keyframes pound {
to { transform: scale(1.4); }
}
.heart {
display: inline-block;
font-size: 150px;
color: #e00;