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 trialJorge Vega
Front End Web Development Techdegree Student 2,905 PointsSmall 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
231,184 PointsThe 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.
Jorge Vega
Front End Web Development Techdegree Student 2,905 PointsHi Steven!
Thank you for the tips!
Jorge
Changjoon Song
Python Web Development Techdegree Student 8,092 PointsDid I miss something about font-variant during this project?