Modern Accessible CSS Reset – reset.css

Category: CSS & CSS3 , Recommended | October 25, 2022
Author:mayank99
Views Total:84 views
Official Page:Go to website
Last Update:October 25, 2022
License:MIT

Preview:

Modern Accessible CSS Reset – reset.css

Description:

A lightweight, modern, accessible CSS reset heavily based on the :where() CSS pseudo-class function.

Features:

  • Built-in visually hidden styles for screen reader-only text.
  • Accessible focus outlines.
  • Designed for cascade layers.
  • Auto dark mode.
  • Smooth scroll.
  • And more.

How to use it:

Install and import the reset.css.

# NPM
$ npm i @acab/reset.css
@import '@acab/reset.css';
// or in a JS file
import '@acab/reset.css';
// or from a CDN
@import 'https://unpkg.com/@acab/reset.css';
// or in an HTML document.
<link rel="stylesheet" href="package/index.css" />

You Might Be Interested In:


Leave a Reply