How do I flip text using style sheets?

How do I flip text using style sheets? cover image
  1. Home
  2. CSS
  3. How do I flip text using style sheets?

Internet Explorer displays several text effects through style sheets. Here I’ll show you how to flip a piece of text horizontally and vertically.

The horizontal and vertical flips are made using the filter rule through which we specify horizontal fliph() or vertical flipv() flips. The height and the width rules are important too.
This style can be placed inside the HTML head section, to be called using the CLASS attribute of a <DIV> or <SPAN> tags or the style can be used as an inline style.

Note: These style sheet commands do not work in Netscape 4.7.

Horizontal Flip

Vertical Flip

The horizontal flip style sheet

    {height:50;
     width:400;
     font-size:20pt;
     font-weight:bold;
     filter:fliph()}

The vertical flip style sheet

    {height:50;
     width:400;
     font-size:20pt;
     font-weight:bold;
     filter:flipv()}
CSS HTML