Hi I have a general question about cycling background colors.
when using
background color: rgb(0,0,0)
is it ok to write
This is pseudo code.
I tried doing this for the background color of a text field which I set with css however, the css wouldnt read it.
I am just wondering if there are any special constraints on rgb(0,0,0,) which dont allow you to use looping varibles?
Seasons Greetings.
when using
background color: rgb(0,0,0)
is it ok to write
Code:
if {i<250){
i++;
}
else(i == 250){
i= 0;
i++
}
background color: rgb(i,0,0)
I tried doing this for the background color of a text field which I set with css however, the css wouldnt read it.
I am just wondering if there are any special constraints on rgb(0,0,0,) which dont allow you to use looping varibles?
Seasons Greetings.
Comment