CSS setting English letter case conversion (Text-transform)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.