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

modern-normalize

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modern-normalize

Normalize browsers' default style

  • 3.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
263K
decreased by-15.18%
Maintainers
1
Weekly downloads
 
Created

What is modern-normalize?

The modern-normalize npm package is a modern CSS reset that helps to make built-in browser styling consistent across different browsers. It is a modern alternative to the traditional normalize.css, providing a more up-to-date approach to CSS normalization.

What are modern-normalize's main functionalities?

CSS Reset

This feature allows you to import the modern-normalize CSS reset into your project, ensuring that your styles are consistent across different browsers.

/* Import modern-normalize in your CSS file */
@import 'modern-normalize';

Consistent Box Sizing

This feature ensures that the box-sizing property is set to border-box for all elements, making it easier to manage layouts and avoid unexpected behavior.

/* Example of consistent box sizing */
* {
  box-sizing: border-box;
}

Improved Typography

This feature sets a consistent line-height and font-family for the body element, improving the readability and appearance of text across different browsers.

/* Example of improved typography */
body {
  line-height: 1.5;
  font-family: system-ui, sans-serif;
}

Other packages similar to modern-normalize

Keywords

FAQs

Package last updated on 05 Sep 2024

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