colorphase

description

Continuous change of CSS-defined colors within HTML-documents, according to the actual moonphase; range is defined by colors for new and full moon.

syntax

Include a CSS-link in your document's header like :

<link rel="stylesheet" type="text/css" href="http://moons.users.mcs2.netarray.com/css/colorphase />

Append (X)HTML-tag and related CSS color-attribute with '?' and '&' like :

? tag=body & att=background-color

Finally append the color-range,
between "dark=" (color at new moon) and "light=" (at full moon) :

& dark=000000 & light=FFFFFF

The whole link will then look like this :

<link rel="stylesheet" type="text/css"
href="http://moons.users.mcs2.netarray.com/css/colorphase ? tag=body&att=background-color&dark=000000&light=FFFFFF" />

... leading to a continuous change of the document's background-color between black (#00000) at new moon and white (#FFFFFF) at full moon.

application

Assembling and preview of CSS-links supported by preview-form; example applications on the right.

license

See general license terms. Contact editors if you want a CSS-link to be licensed for personal use. or request it as my colorphase.

*

8.06
gs