Clean Styling CSS Reset Library | destyle.css

destyle.css is an open reset style sheet that provides a clean design menu for your project. This CSS reset library is used to create clean, neat web pages.

Headings

An h1 might need to be bold & large in some contexts (e.g. at the top of a text page) but might be small and inconspicuous in others (e.g. on a settings page in an app).

Buttons

button tags have a lot of default styles that can make them cumbersome to use from a styling perspective, especially if they should look like plain links or need to wrap some other content, but button tags are the recommended elements to use as click targets for user interactions. Falling back to using <a href="#"> even with role="button" is not recommended from an accessibility standpoint as screen readers will recognize buttons as interactive elements by default and treat them accordingly. a should be used when there is a need to link to a page via href.

Must Read: New Simple and Lighter CSS Reset Library

Clean Styling CSS Reset Library Details

Post NameCSS Reset destyle Library
Author Namenicolas-cusan
CategoryCSS & CSS3, Other
Official PageClick Here
Official Websitegithub.com
Publish DateDecember 5, 2020
Last UpdateJuly 11, 2023
DownloadLink Below
LicenseMIT

Features:

  • Ensures consistency across browsers as much as possible
  • Prevents the necessity of resetting user agent styles
  • Prevents style inspector bloat by only targeting what is necessary
  • Removes margins & paddings
  • Removes default font styles and ensures proper inheritance
  • Contributes to the separation of presentation and semantics
  • Sets sensible default styles
  • Well suited for utility class libraries and large codebases
  • Made for modern browsers only, therefore small in size (~0.95kb)

Rules

  • The box model is set to border-box for *::before and ::after.
  • The border-style is set to solid for *::before and ::after and the border-width is set to 0 (to hide the borders).
  • codeprekbdsamp maintain a monospaced font family.
  • hr is set to be a solid 1px line using border-top that inherits its color from its parent’s color property.
  • Inline elements that carry style (bistrong, etc.) are not reset.
  • canvas and iframe maintain their default width and height (varies depending on the browser).
  • buttonselecttextarea and input are reset using appearance: none.
  • textarea maintains its default height.
  • meter and progress elements are not reset.
  • Replaced content like imgiframe and svg use vertical-align: bottom to prevent alignment issues.
  • Focusable elements retain a focus outline, style depends on the browser.

How to make use of it:

Installation & Download:

# NPM
$ npm install destyle.css --save

Import the destyle.css into your mission.

<link rel="stylesheet" href="destyle.css">

See Demo And Download

Clean-Styling-CSS-Reset-Library-destyle

Official Website(nicolas-cusan): Click Here

This superior jQuery/javascript plugin is developed by nicolas-cusan. For extra Advanced Usages, please go to the official website.

Related Posts

Google-Translate-Dropdown-Customize-With-Country-Flag

Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

HStack-and-VStack-in-CSS

CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Leave a Reply

Your email address will not be published. Required fields are marked *