Answers for "how to style placeholder to the center of text box"

CSS
4

how to center placeholdr text

input[type="text"]::placeholder {  
                  
                /* Firefox, Chrome, Opera */ 
                text-align: center; 
            } 
/*Must include type="text" in HTML*/
Posted by: Guest on February-12-2020

Code answers related to "how to style placeholder to the center of text box"

Browse Popular Code Answers by Language