mirror of
https://github.com/flozz/StackBlur.git
synced 2026-01-25 14:27:48 +00:00
- Fix: Duck type with image or canvas in place of `instanceof` check (and a broken one) - Enhancement: Add JSDoc comments - Linting (ESLint): Add ESLint with "standard" base - Linting (Markdown): Add `.remarkrc` - Linting (package.json): Add recommended properties - Linting (HTML): Add empty favicon to suppress console - License: Change MIT license file name to reflect license type (MIT) - Docs: Move changelog to own file: `CHANGES.md` - Demo: Move demo to own directory (with static server to avoid Chrome security problems reaching out of folder) - Demo: Move JS and CSS to separate files for easier linting/examination - Build: Move from Grunt to Rollup, supporting ES6 Modules distribution as well as UMD - Build: Add npm-recommended `package-lock.json` - npm: Add start, eslint, rollup, open-docs, docs scripts - npm: Add `module` for ES6 module discovery and switch `main` to point to `dist` - npm: Bump to 2.0.0
19 lines
284 B
CSS
19 lines
284 B
CSS
html, body {
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: center;
|
|
background: #fff;
|
|
font-family: Arial, sans-serif;
|
|
color: #333;
|
|
}
|
|
|
|
canvas {
|
|
border: #fff solid 4px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, .3);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
div {
|
|
margin: 20px;
|
|
}
|