placeholder color
See original GitHub issueIs it possible to have different colors on Input
placeholder. I want red
on standby, and green
on float. Is it possible ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How To Change Input Placeholder Color - W3Schools
In most browsers, the placeholder text is grey. To change this, style the placeholder with the non-standard ::placeholder selector. Note that Firefox adds...
Read more >placeholder - CSS: Cascading Style Sheets - MDN Web Docs
Note: In most browsers, the appearance of placeholder text is a translucent or light gray color by default. Syntax. ::placeholder. Accessibility ...
Read more >Change a HTML5 input's placeholder color with CSS
The placeholder's text color is now red. Maybe other modern browsers now support it. – Lloyd Dominic. May 24, 2017 at 5:28.
Read more >How To Change the Color of an HTML5 Input Placeholder ...
The default color of a placeholder text is light grey in most browsers. If you want to change it, you need to use...
Read more >CSS Placeholder Color - HTML Color Codes
Input (and textarea) placeholder text defaults to a light gray color, however, we can change that with a few lines of CSS. Here...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I made something like this
<Item floatingLabel > <Label style={this.state.labelUp?[styles.subtitle]:[styles.normal]}> Nombre </Label> this.setState({ name })} value={this.state.name} onFocus={()=>{this.setState({labelUp: true}); }} onBlur={()=>{(this.state.name =="")?this.setState({labelUp: false}):this.setState({labelUp: true}) }} /> </Item>@theapache64 You can detect if
floatUp
is called usingref
Note that withfloatingLabel
usegetRef
to get reference