Halloween effects library adds seasonal page decorations on major site builders
A developer has released halloween.js, a small MIT-licensed library with no dependencies, weighing about 9 KB gzipped, that draws spider webs, blinking eyes, a flying witch, a dropping spider and a tombstone on web pages. Because many site builders restrict theme editing, the library is activated by adding a class to the body element through a snippet that waits for the page to load, so it works whether placed in the head or footer. Installation instructions are provided for WordPress, Shopify, Webflow, Wix, Squarespace, Tilda, Ghost, Blogger, Google Tag Manager and Framer, each with menu paths. By default the effects run only from 18 October to 2 November, can be configured, and are disabled for visitors who have reduced motion enabled. The developer notes that platform menus change often and invites users to report problems on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in