1.0.5 • Published 2 years ago

@tdurtschi/starfield v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Starfield

Usage:

import starfield from "./index.js";
starfield({
    target: "elementId",
    fillRatio: 0.8
});

The target element must have a defined height.

If you're using this as a full-screen background, the following styles might be useful:

html,
body {
    padding: 0;
    margin: 0;
    background-color: black;
    min-height: 100%;
}

#elementId {
    z-index: 10;
    height: 100%;
    min-height: 100vh;
}
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago