New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

base-css

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-css

A basic set of rules to make modern browsers behave.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

base.css

It's not huge and bloated. Not normalize nor reset, just a basic set of rules to make modern browsers behave.

How is Base.css different?

The common objective for projects like base.css, normalize and reset is to achieve consistency across browsers. Normalize does this by taking in consideration what should be considered the standart 'look and behaviour' of a given element and fixing the browsers where it acts differently. It was born as an alternative to reset.css, which simply stripped many html elements default styling (with the same objective: achieve consistency through browsers)

Base.css is different in three ways: It only targets modern browsers (IE 10+) and it does a little of both: Normalizing and resetting behaviour. It normalizes what is considered de facto behaviours that we rely and some browsers screw (like IE not resizing a button with a big text inside it - all other browsers does this). For elements that usually tend to have its defaults overwritten on new projects (like heading styles, for example), base.css simply applies a reset (which have a smaller footprint). Finally, base.css applies the box-sizing property to make building CSS layouts easier and a lot more intuitive. It's such a boon for developers that there's even an International Box-Sizing Awareness Day in February ;)

FAQs

Package last updated on 02 Sep 2015

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