I am just wondering is there any way to take a CSS property from one page to another page.
Let me describe briefly - I am have two webpages, called one.html
and two.html
.
In one.html
there is a button called darkview
. If the user clicks on the button then one.html
's background colour will change.
In the same page I have a link. When the user clicks that, it will go to the second page (two.html
). But now the problem is: I have changed the background colour in one.html, I want that also apply to second page. So how take that property and apply to the second page?
Here are a few lines code I have written.
(Problem can be solved by using JavaScript or jQuery.)