CSS Settings English letter case Conversion createtime--2018 May 25 07:16 Author:marydon
1. Implementation: Through Text-transform
2.text-transform Syntax:
Text-transform:none | Capitalize | Uppercase | lowercase
Value:
None: Default value. No conversion occurs
Capitalize: Converts the first letter of each word to uppercase, and the remaining no conversions occur
Uppercase: Convert to uppercase
Lowercase: Convert to lowercase
3. For example
/* convert all entered letters into uppercase letters */ text-transform:uppercase;<input type= "text" name= "mobile" style= "text-transform:uppercase;"/> updatetime--2017 January 9 10:23:23/* convert all the English letters entered into lowercase letters */Text-transform:lowercase ; <input type= "text" style= "text-transform:lowercase;" />
Related recommendations:
- CSS Knowledge Point Collection
CSS setting English letter case conversion (Text-transform)