CSS uppercase

You are currently viewing CSS uppercase

CSS uppercase property is used to write the text in uppercase. By using the CSS uppercase property we can write the complete paragraph or first text in of paragraph uppercase.

CSS uppercase property is used to write the text in capitalized formate. When we want to write the text in capitalize formate then we use CSS uppercase property in web development.

<!DOCTYPE html>
div.a {
  text-transform: uppercase;

<h2>CSS uppercase Property</h2>
<div class="a">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>


css uppercase property

CSS uppercase first letter

A relatively modern feature available to CSS selectors is the concept of a pseudo selector. You can use the first-letter selector to apply a different style to the first character of a paragraph like as showing in the following example. And when styling HTML5 content, you would often combine other pre-defined styles with this class if they are defined between < and >:
This page shows how we could create some examples for using these classes at each element level without having all elements have one single prefixed version of them (like there are only two versions of paragraphs):

You can use the first-letter selector to apply a different style to the first character of a paragraph like as showing in the following example. “.p:first { color: yellow; } .p:first > p{color:#000} There are many benefits over pure HTML and JavaScript examples where you could even see what’s going on by using this technique for real-time styling but it would be best not get caught up too deep into that area without having thoroughly read how they work out here, so we will just stick with our very simple demo below :).

This should give you an idea about why there might really only ever need one or two forms supported at any given moment across all browsers which means your stylesheet wouldn’t have to change from browser version to later versions.

<!DOCTYPE html>
p { text-transform: lowercase; line-height: 3; } p::first-letter { text-transform: uppercase; font-size: 80px; font-weight: bold; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; letter-spacing: 5px; }

<h2>CSS uppercase first letter</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>


css uppercase first letter

If you want to learn more about CSS visit the official website: Visit

visit the CSS tutorial list. And make strong your CSS concept. Click here. wuschools.com is always written about the CSS concept for the CSS lover. And writes about how CSS makes your life easy if you are a web site developer. We help you to continue your learning.

This Post Has 13 Comments

  1. Boyce Lamar

    It is really a great and helpful piece of information. I’m glad that you shared this helpful information with us. Please keep us up to date like this. Thanks for sharing.

  2. Osvaldo Talicska

    Appreciating the hard work you put into your blog and in depth information you provide. It’s nice to come across a blog every once in a while that isn’t the same old rehashed information. Excellent read! I’ve bookmarked your site and I’m adding your RSS feeds to my Google account.

  3. Ryan Donoso

    Nice read, I just passed this onto a colleague who was doing a little research on that. And he just bought me lunch since I found it for him smile Thus let me rephrase that: Thanks for lunch!

  4. Latonia Walwyn

    I like what you guys are up also. Such smart work and reporting! Keep up the excellent works guys I’ve incorporated you guys to my blogroll. I think it’ll improve the value of my site 🙂

  5. Jerald Nicola

    Oh my goodness! an amazing article dude. Thank you However I am experiencing problem with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting an identical rss problem? Anyone who is aware of kindly respond. Thnkx

  6. Randell Leinberger

    Thanks for the marvelous posting! I definitely enjoyed reading it, you might be a great author.I will make sure to bookmark your blog and will come back in the foreseeable future. I want to encourage you to continue your great writing, have a nice weekend!

  7. Linsey Simers

    Youre so cool! I dont suppose Ive learn something like this before. So good to search out anyone with some authentic ideas on this subject. realy thanks for beginning this up. this website is one thing that is needed on the internet, someone with a little originality. useful job for bringing something new to the internet!

  8. Herta Barrer

    Hello! This post couldn’t be written any better! Reading through this post reminds me of my old room mate! He always kept chatting about this. I will forward this article to him. Fairly certain he will have a good read. Thank you for sharing!

  9. Garfield Sanker

    magnificent post, very informative. I wonder why the other specialists of this sector do not notice this. You should continue your writing. I’m confident, you’ve a huge readers’ base already!

  10. Sean Stepleton

    you’re truly a excellent webmaster. The web site loading pace is amazing. It seems that you’re doing any unique trick. Moreover, The contents are masterpiece. you have done a wonderful process on this topic!

  11. Victor Willaims

    Hi there, You’ve done a fantastic job. I’ll certainly digg it and in my view recommend to my friends. I’m confident they will be benefited from this site.

  12. Florentina Catalfamo

    Nice post. I was checking constantly this blog and I’m impressed! Extremely helpful information specially the last part 🙂 I care for such info much. I was seeking this certain information for a very long time. Thank you and good luck.

  13. Refugio

    I am not sure where you are getting your information, but
    great topic. I needs to spend some time learning much more or understanding more.
    Thanks for magnificent information I was looking for this
    info for my mission.

Leave a Reply