fa-stack
Published Aug 1, 2022Updated Oct 14, 2022
Contribute to Docs
The fa-stack
classes are used to stack icons on top of each other. The fa-stack
class is used on the parent container. The fa-stack-1x
class is used for the regularly sized icon. The fa-stack-2x
class is used on the larger icon.
Example
<span class="fa-stack fa-lg"><i class="fas fa-bug fa-stack-1x"></i><i class="fas fa-ban fa-stack-2x" style="color:red;"></i></span>
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Open Source on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn CSS
In this CSS tutorial, you’ll learn how to add CSS to visually transform HTML into eye-catching sites.Beginner Friendly6 hours