Text color in input box field

Hello,
I have a problem with the text color in my input box field (the background is in black) When I am writing in it it is white, but when I click somewhere else in the app, it turns to black, so you can no longer see the text. Can you help me ? Here is my code :

input{
color:#FFF;
}
input:focus{
color:#FFF;
}