1.7.1 • Published 12 months ago

shokika.css v1.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

shokika.css image

shokika.css

A lightly modern reset CSS.

shokika.css is a modern CSS library that provides cross-browser default styles.

note: shokika means "initialize" in Japanese.

Installation

You can install shokika.css using npm, Yarn, or a CDN.

npm

npm install --save-dev shokika.css

Yarn

yarn add shokika.css

CDN

https://unpkg.com/shokika.css@latest/dist/shokika.min.css

Usage

You can use shokika.css by importing it into your project.

Import

@import '~shokika.css';

HTML

<link rel="stylesheet" href="https://unpkg.com/shokika.css@latest/dist/shokika.min.css" />

Usage with "CSS in JS"

You can also use shokika.css with "CSS in JS" libraries like Emotion.

import { css, Global } from '@emotion/react';
import resetCSS from 'shokika.css/dist/string';

const globalStyle = css`
  ${resetCSS}
`;

export const CSSReset = () => <Global styles={globalStyle} />;

Variations

It is available in node_modules directory:

  • shokika.css: raw CSS file
  • shokika.min.css: minified CSS file (recommended for production)

Support

Warning
Support for modern browsers.

shokika.css supports modern browsers, but does not support IE11 or other legacy browsers.

1.7.1

12 months ago

1.7.0

1 year ago

1.6.1

1 year ago

1.5.7

1 year ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.5.6

2 years ago

1.4.0

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago