Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design Web Typography Final Project: Create a Typographic Site Getting Started: HTML and CSS

Jorge Vega
seal-mask
.a{fill-rule:evenodd;}techdegree
Jorge Vega
Front End Web Development Techdegree Student 2,905 Points

Small caps are showing the wrong size

Hello everyone!

I am setting text-transformation to make my caps smaller. However, it transformed my caps into lowercase letters.

abbr { font-family: 'Alegreya Sans SC', 'Alegreya Sans', Verdana, Tahoma, sans-serif; text-transform: uppercase; }

I tried to change the value to uppercase for my text-transformation but it won't work.

Thank you in advance

3 Answers

Steven Parker
Steven Parker
231,248 Points

The setting shown here would not transform your caps into lowercase letters, but it would if it was set to lowercase instead of uppercase.

But the text-transform property in CSS has no "small caps" setting. Perhaps you are thinking of this:

font-variant: small-caps;

For more information, see the MDN pages for text-transform and font-variant.