![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
normalize.css
Advanced tools
Package description
The npm package normalize.css is a modern, HTML5-ready alternative to CSS resets. It makes browsers render all elements more consistently and in line with modern standards by precisely targeting only the styles that need normalizing.
HTML Element Normalization
Ensures consistent line height and prevents font size adjustments after device orientation changes.
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
Section and Article Styles
Removes default margins from the body and ensures the 'main' element is displayed consistently across browsers.
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the 'main' element consistently in IE.
*/
main {
display: block;
}
Text-Level Semantics
Adjusts box sizing and border color inheritance in Firefox for elements like <hr>.
/* Grouping content
========================================================================== */
/**
* Add the correct box sizing in Firefox.
* Correct the inheritance of border color in Firefox. (Bug 688556)
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
Similar to normalize.css, reset-css is an npm package that provides CSS reset styles. It differs in that it aims to strip all default browser styling on elements, whereas normalize.css aims to make these styles consistent across browsers without removing as much of the default styling.
sanitize.css is another CSS normalization library that not only normalizes styles but also corrects bugs and common browser inconsistencies. It is similar to normalize.css but includes more opinionated defaults that enforce better usability.
Readme
Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.
Normalize.css is intended to be used as an alternative to CSS resets.
It is suggested that you read through the normalize.css
file and customise it to meet the design requirements of a project rather including it as a "black box".
If you prefer to use a different CSS formatting style, consider using a tool like Procssor.
If you would like to minify the file, you can use a tool like this online CSS compressor using YUI Compressor or perform the minification as part of your build process.
Please read the Wiki entry on contributing to Normalize.css
Public domain
Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.
FAQs
A modern alternative to CSS resets
The npm package normalize.css receives a total of 892,785 weekly downloads. As such, normalize.css popularity was classified as popular.
We found that normalize.css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.