css customize tag for css3
Permalink
Hello.
I just make some experients with the /* customize_XXX */ tag in the css code of the template.
It ist very easy to use for 'normal' css code like:
font: normal 13px Arial
But did anybody knows a possibility to use this for CSS3 code like this:
background:-moz-linear-gradient(top,#4d4e53 0%,#2f2f37 100%);
I am looking for a possibility to change the color codes in the template area of the dashboard.
I just make some experients with the /* customize_XXX */ tag in the css code of the template.
It ist very easy to use for 'normal' css code like:
font: normal 13px Arial
But did anybody knows a possibility to use this for CSS3 code like this:
background:-moz-linear-gradient(top,#4d4e53 0%,#2f2f37 100%);
I am looking for a possibility to change the color codes in the template area of the dashboard.
Not with gradients, only solid colours..
Well you cannot achieve it directly but you can do a trick. If you have a look into the gradient code, you will see there are 2 colors. One for top and other for bottom. The gradient is mixture of it. So you can use 2 solid customizable colors to create your custom gradient. Hope this makes you sense.
Rony
Rony
Hello Rony,
I've tried this, but I am sure that it doesn't work.
In the code of the gradient you can't use the 'color:' in front of the color code #4d4e53.
But this is necessary to make a color customizable.
The second problem is (if it would work) that you need 12 color codes for only one gradient (for the needs of different browsers).
I've tried this, but I am sure that it doesn't work.
In the code of the gradient you can't use the 'color:' in front of the color code #4d4e53.
But this is necessary to make a color customizable.
The second problem is (if it would work) that you need 12 color codes for only one gradient (for the needs of different browsers).