Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

holiday.css

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holiday.css

A minimalist classless CSS theme with dark mode support. Only 5 KB.

  • 0.11.1
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-81.58%
Maintainers
1
Weekly downloads
 
Created
Source

holiday.css :tada:

npm version CI

No classes today! Because it's holiday!

A minimalist classless CSS theme with dark mode support. Only 5 KB.

Demo

Why

I got tired of complex markup and tons of classes on every element.

See form example: Bootstrap vs holiday.css.

Features

  • makes your page fit even the smallest screens, no more broken <body> width due to wide tables
  • supports all <input> types
  • highlights invalid fields in your forms (that's right, no JS needed for that!)
  • makes your <nav> look nice, turns your nested <ul> lists into accessible dropdowns (making Tab work with dropdowns in plain CSS was really tricky!)
  • doesn't waste precious horizontal space on mobile screens for <picture>, video, <table>, and <pre> by ignoring body margins and filling 100% of screen width
  • keeps selector specificity as low as possible, so you could easily extend it with CSS classes without using !important
  • supports dark mode out of the box
  • built with pure CSS
  • only ~5 KB (minified and gzipped)

Quick Start

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.11.1" />

Browser compatibility

Tested on latest Chrome and Firefox.

Acknowledgements

Sources of inspiration:

Changelog

License

MIT

Keywords

FAQs

Package last updated on 22 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc