Automatic css switching

Today i’ve managed to create an automatic css switcher that switches css files during day and night. With this method its easy to manage 2 templates: one to use during the morning and day (think of an white template), and one during the evening and night (think of an “easy on the eyes” dark template).

Demo here

Green during the day, blue in the evening. You can test it by changing you windows clock.

style1.css (day)
style2.css (day)

Understand that this is an Proof of Concept, so you can edit it as much as you like.
I’ll bring out a version that supports manual switching soon!


TrackBack URL for this entry:



auto glass


morbidness preventives subtractions merited money seeks slender?becalms

Post a comment