How the catfan.me switch background is done, and how to make the button more color.

56 2
1 Answers

95 5

Just change the href value that references the css file in <style>.

<style type="text/css" id="css_file" href="http://yourdomain.com/css/style.css">

javascript :

document.getElementById('css_file').href = 'http://yourdomain.com/css/style1.css';
...