Home  >  Article  >  Web Front-end  >  Dynamic CSS site tutorial: Multiple page styles provide viewers with choices_CSS/HTML

Dynamic CSS site tutorial: Multiple page styles provide viewers with choices_CSS/HTML

WBOY
WBOYOriginal
2016-05-16 12:11:391286browse
I saw this code for instant STYLE change on cnbruce's blog. I thought it was good and copied it for later use.
The example I saw is: there are multiple page styles on a website for viewers to choose. .At the same time, after selecting a certain style, when you open the page again, the style will still be maintained. Naturally, Cookie technology comes to mind.


Dynamic CSS site tutorial: Multiple page styles provide viewers with choices_CSS/HTML Program code



Skin-changing technology

Please select the drop-down menu below to test the skin resurfacing effect

css.css
css1.css
css2.css
< ;a href=# onclick="changecss(''css3.css'')">css3.css



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn