Category Archives: CSS

The Medium clap effect

Uses this JS animation library: http://mojs.io/ https://github.com/legomushroom/mojs https://tympanus.net/Development/Animocons/ Source: How I (re)built the Medium clap effect — and what I got out of the experiment.

BEMIT: Taking the BEM Naming Convention a Step Further – CSS Wizardry 

CSS Architecture, Web Performance Optimisation, and more, by Harry Roberts Source: BEMIT: Taking the BEM Naming Convention a Step Further – CSS Wizardry – CSS Architecture, Web Performance Optimisation, and more, by Harry Roberts

Transfonter — online @font-face generator

Online tool. Convert standard desktop ttf fonts into web formats. Eg. @font-face { font-family: ‘Playfair Display’; font-style: normal; font-weight: 300; src: url(‘/Content/fonts/PlayfairDisplay-Regular.eot’); /* IE9 Compat Modes */ src: local(‘Playfair Display-Regular’), url(‘/Content/fonts/PlayfairDisplay-Regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */ url(‘/Content/fonts/PlayfairDisplay-Regular.woff2’) format(‘woff2’), /* Super Modern Browsers */ url(‘/Content/fonts/PlayfairDisplay-Regular.woff’) format(‘woff’), /* Modern Browsers */ url(‘/Content/fonts/PlayfairDisplay-Regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */ […]