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

CSS

CSS to create 'mirrored' text?

Hi! I'm after a method to make text a mirror image of itself? My personal logo is typographic, with a web-friendly font, but contains a reversed character. I want to be able to generate my logo on the web with just html/css, instead of using images.

I don't know if it's possible, but any help would be appreciated!

1 Answer

I think this may be what you're after:

<p>Your logo text</p>
<p class="mirror">Your logo text</p>
.mirror{
  display: inline-block;
  transform: scaleX(-1); 
  filter: FlipH; /* IE 6-7-8 */
}

Let me know if you need anymore help, Regards

Perfect solution :-) Thank you for the help.