Quickies
“I … ah … The company’s planning a mid-year Christmas hamper for all staff with each division head responsible for sorting something from their area. The Design people have created tee-shirts with all the company logos from the past ten years, the PR people have sourced a picnic blanket with the current company logo, Finance have organized an elephant money box with the company logo on it, and I’m just trying to think of something that would really complement it.”
“Hmmm … a box of matches and a tin of petrol?” I suggest.
by Andrei on
CSS PNG Animation using keyframes
Curious how I did the animated “gifs” on the Sven Bømwøllen > a half-assed review post? Well, wonder no more.
The HTML is a simple div with a class
|
|
|
|
The important things here are:
- div’s
width
andheight
: how big the frame is? background-image
: the image that we’ll use for the animationsteps(6)
: how many steps (frames) does the image have?- animation duration: i used
0.6s
. Actually it’s 0.1 per frame, so the animation looks very similar to the one in the game. background-position
: we start from0 0
(top left), and we end the animation at0 -448px
, meaning that the end frame will be 448 pixels below the origin. This can be tweaked if you need to alter the animation a bit, but it’s usually the height of the image.
This allowed me to turn this image
by Andrei on
FD tribute
Back in 2010, I was working on what ended up to be the biggest fashion website in Romania, fashiondays.ro. Designed by my friend, Andi M., I did a ton of coding for that project over 4 years or so. In order to throw back to those days, I’ve decided to re-paint my site in their original colours for the week to come. :)
by Andrei on
Nintendo Switch Cassette Case Insert
By Alrumaithi from here, download link below if it disappears.
💾Nintendo Switch Cassette Case Insert
Nintendo_Switch_Cassette_Case_Insert_-_Proper_design_to_hold_paper_6144618.zip (1.4 MB)
by Andrei on
operation tidal wave
In war, the people that give the kill orders are never the ones to die.
100 civilians killed and 200 injured
Thank you, America! (/s)