Font Awesome V4 - Flipped Icons Example
Using Font Awesome Icons within a web page is super easy
- Include the icon library CDN within the head section of a document
- Then access the icons using their predefined classes from the library
Here is the example that explains how to define Font Awesome Flipped Icons using the predefined classes fa-flip-horizontal
, and fa-flip-vertical
.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body style="font-size: 20px;">
<h1>Flipped Icons</h1>
<i class="fa fa-shield"></i> normal<br>
<i class="fa fa-shield fa-flip-horizontal"></i> fa-flip-horizontal<br>
<i class="fa fa-shield fa-flip-vertical"></i> fa-flip-vertical<br>
</body>
</html>
Overall
This example helps us understand how to create Font Awesome Flipped Icons.