npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

baseline-css

v2.0.7

Published

Baseline.css is a foundational CSS reset for consistent styling across modern browsers. Minified for superior performance.

Readme

What is baseline.css?

baseline.css was inspired by normalize.css v8.0.1 of Nicolas Gallagher, but unique additions and optimisations were made that go beyond simple normalization. So, we have decided to create our own version, "baseline.css"

The changes we added go beyond simple normalization by addressing:

¤ Specific user agent style removal. ¤ Detailed handling of form elements and multimedia content. ¤ Accessibility improvements. ¤ More focus on mobile-first design and consistency.

User Agent Styles Removal:

We included a rule to specifically remove user-agent styles for elements, except for the display property. This is an advanced way of ensuring that the browser's default styles (like margins, padding, etc.) don’t affect your layout while keeping the necessary display behavior intact. This isn't part of most normalization approaches, which typically preserve user-agent styles. We have opted for a cleaner slate for most elements but without affecting display properties.

Additional Media and Form Element Resets:

We added specific resets for form elements and input fields, such as restoring focus styles on buttons and input fields, which also prevents some unexpected behavior with form elements like select, textarea and button in specific browsers (Safari or older versions of Chrome).

These tweaks were added to enhance consistency across form fields, providing more control over how input elements behave. For example, resetting padding and margin, and ensuring proper scaling and inheritance of font styles across browsers.

Multimedia Resets:

img and video elements were set to not exceed their container size, ensuring a responsive layout by adding max-width: 100%; height: auto; This is an additional feature not found in many normalization resets and it helps ensure multimedia content stays within their containers responsively, which is essential in modern designs.

Accessibility and Focus:

We added explicit focus styles for interactive elements like buttons and links (i.e., the dashed outline on focus). While many normalize resets include focus styles, having visible focus indicators (with a dashed outline) is an important accessibility improvement that ensures users can easily navigate the website using keyboard-only controls.

HTML5 Elements and Semantic HTML:

A rule for main, article and section ensures the semantic HTML5 elements are styled consistently. These changes aren't in traditional normalization files but are aimed at improving consistency for HTML5 elements, especially when working with older browsers that might not render these elements as blocks by default.

Text and Typography:

We have added rules for small text, superscript/subscript elements and code-related text to handle typography in a consistent manner across browsers. These rules ensure the readability of text elements like code and small fonts, which is often missed in traditional resets.

How to install?

To install the baseline.css package with NPM, use the following command:

npm install baseline-css

Include the minified CSS file in your HTML project:

<link rel="stylesheet" href="node_modules/baseline-css/dist/baseline.min.css">

If you are using a bundler (Webpack, Vite) with JavaScript/TypeScript:

import 'baseline-css/dist/baseline.min.css';

LEGAL DISCLAIMER:

MIT License of normalize.css is compatible with our AGPLv3-licensed KERNAMON BLOCKCHAIN & exCLUSTER. We only need to ensure proper attribution for the MIT-licensed file and remember that the overall distribution will still need to meet AGPLv3 requirements.