Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@zendeskgarden/css-bedrock

7.0.33 • Public • Published

@zendeskgarden/css-bedrock npm version

This package provides a mostly reasonable CSS reset layered on top of Normalize.css.

Installation

npm install @zendeskgarden/css-bedrock

Usage

Once installed, bedrock CSS can be accessed via postcss-import.

@import '@zendeskgarden/css-bedrock';

The distribution for Bedrock CSS contains global styling rules to help projects get started with Garden designs. In addition to Normalize.css, Bedrock includes:

  • Garden's system font stack applied to page.
  • Base font size (14px) applied to the page.
  • Reset box-sizing to border-box for all elements.
  • A default treatment for anchor elements.
  • Headings (1-6) reset to inherit font-size.
  • Browser margin and padding stripped from block elements.

See https://zendeskgarden.github.io/css-components/bedrock/ for a demonstration of the resets provided by this package.

Install

npm i @zendeskgarden/css-bedrock

DownloadsWeekly Downloads

588

Version

7.0.33

License

Apache-2.0

Unpacked Size

32.8 kB

Total Files

7

Last publish

Collaborators

  • avatar