Tech Junkie Blog - Real World Tutorials, Happy Coding!: CSS: text-transform

Friday, July 16, 2021

CSS: text-transform

With text-transform you can transform your text into Autobots or Deceptacon? Not exactly, but what  you can do is transform your text to uppercase, lowercase, capitalize it. It's pretty self explanatory.

Here are the examples of a text-transform:

p.upper {text-transform:uppercase}
p.lower {text-transform:lowercase}
p.cap {text-transform: capitalize}

Here are the HTML markup:

            <p class="upper">uppercase me</p>
            <p class="lower">LOWERCASE ME</p>
            <p class="cap">captain america me</p>

Here is the output:













Previous: CSS: The em Unit

4 comments:

  1. Besthyiptemplate is the top HYIP service provider in the present HYIP market. We provide HYIP template design, green bar SSL, company registration and more HYIP solutions and services. All these are implemented with an affordable and wide range of products

    ReplyDelete
  2. Thank you for sharing such a nice and informative Blog.
    food ordering mobile app development

    ReplyDelete
  3. Great Information...Thanks for sharing with us...Aditya Athena is a brand new residential project developed by Sri Aditya Homes located in Shaikpet, Hyderabad. It offers 2bhk and 3bhk Residential Apartments in affordable prices.

    Aditya Athena
    Sri Aditya Athena
    Aditya Athena Hyderabad
    Aditya Athena Shaikpet

    ReplyDelete

Search This Blog