Introduction

ospinajuanp-reset-css is a lightweight, modern CSS reset tool designed to help kickstart your web projects by resetting browser default styles.

What is a CSS Reset?

A CSS reset is a set of styles that removes default browser styling for HTML elements. This provides a consistent baseline across all browsers, eliminating common inconsistencies in margins, padding, and default typography.

Features

  • Universal Reset: Resets margins, paddings, and styles for a wide range of HTML elements.
  • Modern Baseline: Incorporates features from modern-normalize and modern reset methodologies.
  • 6 Built-in Themes: Simple, Dark, Pastel, Dark Blue Pastel, Light Blue Pastel, and Retro.
  • Type-Safe: Full TypeScript support with complete type definitions.
  • React Integration: Hooks and Provider for dynamic theme switching.
  • Tree-shaking: Load only the theme you need.

Quick Example

index.csstypescript
/* Simply import and go! */
@import 'ospinajuanp-reset-css';

/* Or use a specific theme */
@import 'ospinajuanp-reset-css/dark';

Ready to get started? Check out the Installation guide to begin.