how to center placeholdr text

CSS
input[type="text"]::placeholder {  
                  
                /* Firefox, Chrome, Opera */ 
                text-align: center; 
            } 
/*Must include type="text" in HTML*/
Source

Also in CSS: