CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
28 lines
870 B
Markdown
28 lines
870 B
Markdown
# camelcase-css [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
|
|
|
|
> Convert a kebab-cased CSS property into a camelCased DOM property.
|
|
|
|
|
|
## Installation
|
|
[Node.js](http://nodejs.org/) `>= 6` is required. Type this at the command line:
|
|
```shell
|
|
npm install camelcase-css
|
|
```
|
|
|
|
|
|
## Usage
|
|
```js
|
|
const camelCaseCSS = require('camelcase-css');
|
|
|
|
camelCaseCSS('-webkit-border-radius'); //-> WebkitBorderRadius
|
|
camelCaseCSS('-moz-border-radius'); //-> MozBorderRadius
|
|
camelCaseCSS('-ms-border-radius'); //-> msBorderRadius
|
|
camelCaseCSS('border-radius'); //-> borderRadius
|
|
```
|
|
|
|
|
|
[npm-image]: https://img.shields.io/npm/v/camelcase-css.svg
|
|
[npm-url]: https://npmjs.org/package/camelcase-css
|
|
[travis-image]: https://img.shields.io/travis/stevenvachon/camelcase-css.svg
|
|
[travis-url]: https://travis-ci.org/stevenvachon/camelcase-css
|