css-font-weight-keywords

List of CSS font weight keywords.

Usage no npm install needed!

<script type="module">
  import cssFontWeightKeywords from 'https://cdn.skypack.dev/css-font-weight-keywords';
</script>

README

css-font-weight-keywords

List of CSS font weights:

  • normal
  • bold
  • lighter
  • bolder
  • 100, 200, 300, 400, 500, 600, 700, 800, 900

Installation

npm install css-font-weight-keywords [--save[-dev]]

Usage

var fontWeightKeywords = require('css-font-weight-keywords');
fontWeightKeywords; /*
[
    "normal",
    "bold",
    "bolder",
    "lighter",
    "100",
    "200",
    "300",
    "400",
    "500",
    "600",
    "700",
    "800",
    "900"
]
*/