Hello all,
I've been having a blast with style properties . But I was wondering if I could grab the attribute instead of the entire readout. For example, I want to use a CSS Background property type, but I want to use whatever value that is somewhere else.
So here is my code in my css file:
And I want to use the background-color value somewhere else (the background of a node). Can I do this? Or should I instead use scalar (color) and scalar string (for the background image). So that way there are two properties as opposed to one with just multiple CSS options. I hope this is clear, sort of hard to word.
Thanks,
Mike
I've been having a blast with style properties . But I was wondering if I could grab the attribute instead of the entire readout. For example, I want to use a CSS Background property type, but I want to use whatever value that is somewhere else.
So here is my code in my css file:
Code:
body {
@property "classCustomize";
color: @contentText;
background: rgb(29, 130, 127) url('js/adstyler/images/bgs/noise_2.png');
@property "/classCustomize";
}
And I want to use the background-color value somewhere else (the background of a node). Can I do this? Or should I instead use scalar (color) and scalar string (for the background image). So that way there are two properties as opposed to one with just multiple CSS options. I hope this is clear, sort of hard to word.
Thanks,
Mike