1.0.5 • Published 10 months ago

@tdurtschi/starfield v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months 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

10 months ago

1.0.4

11 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago