UPDATE – Halloween CSS Effects

Category: | Posted on:October 23, 2021
shiver effect

Say hello to “Shiver”, a Halloween CSS effect that is definitely not ripped from a popular cult cinema streaming service. I added it to the the CSS Animation Archive project in the spirit of the season.

Simple Halloween CSS

Boyfriend and I have been pounding Giallo films on Shudder for the past two weeks, and I couldn’t get over the little tremble that the navigation links do when you hover over them. The CSS for this is so simple I was able to replicate it blind without inspecting the site. The keyframe animation simply juggles the element up, down, right, and left by 1 pixel every .05 seconds.
.shiver {
animation: shiver .05s infinite;
position: relative;
top: 0;
}
@keyframes shiver {
0% {
transform: translateY(-1px) translateX(-1px);
}
100% {
transform: translateY(1px) translateX(1px);
}
}

The demo includes the original hover-activated version of the effect as well in the Rollovers section.
.shiver-hvr {
position: relative;
top: 0;
}
.shiver-hvr:hover {
animation: shiver .05s infinite;
}
@keyframes shiver {
0% {
transform: translateY(-1px) translateX(-1px);
}
100% {
transform: translateY(1px) translateX(1px);
}
}

Happy Halloween!

Tags: , ,

Related Logs


  • NEW PROJECT – Catholic Liturgical Date Checker

    May 29, 2024

    The Liturgical Date Checker project uses the Liturgical Calendar API to display information about Catholic Holy days. On page load it fetches info for today, tomorrow, and yesterday. It also has a search field that will return celebration info about a specific date. Objective This is just more basic API practice. I started this in […]

    Continue Reading
  • NEW PROJECT – Logo Finder

    March 7, 2024

    As part of my React API practice, I built a dirt simple Logo Finder using Clearbit’s Logo API. Simply enter a web domain, and the app will retrieve a logo image. Objective This is the third in a series of simple API fetching apps that I’ve built so far this year after the Public API’s […]

    Continue Reading
  • NEW PROJECT – Open Library Search

    February 25, 2024

    Added another API fetching project, Open Library Search. The app pings the Internet Archive‘s Open Library Search API to retrieve author, publication, purchase, and topic data for a user-provided book title. Objective My goal is to continue cranking out simple fetch projects until I can do them without relying on a crutch. I used my […]

    Continue Reading