0.1.13 • Published 3 years ago

16pixels v0.1.13

Weekly downloads
45
License
(MIT)
Repository
github
Last release
3 years ago

16pixels

16pixels.css is a set of CSS rules to ensure consistent 16 pixels based typography. Pixels are used for font sizes and line heights, as well as for paddings and margins. Can be used as typography normalizer. No dependencies. Wrap your HTML content with class .col and you are done.

npm Codacy Badge CDNJS jsdelivr

16pixels

npm Install

npm install 16pixels

Usage

<!DOCTYPE html>
<html class="no-js" lang="ru">
  <head>
    <meta charset="utf-8" />
    <meta name="HandheldFriendly" content="True" />
    <meta name="MobileOptimized" content="320" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title></title>
    <link rel="stylesheet" href="16pixels.min.css" />
  </head>
  <body>
    <div class="col">
      <h1>Heading&#160;1</h1>

      <p>
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis,
      </p>
    </div>
  </body>
</html>

License

Available under MIT license.

0.1.13

3 years ago

0.1.12

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.9

7 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

9 years ago

0.1.3

9 years ago

0.1.4

9 years ago