w3resource

Font Awesome Caret-up Icon


Usage

<i class="fa fa-caret-up"></i>

Out of the box

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-caret-up"></i>
</body>
</html>

Live Demo

See the Pen caret-up by w3resource (@w3resource) on CodePen.

Large Icon

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-caret-up fa-5x"></i>
<!--use the fa-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5x classes-->
</body>
</html>

Live Demo

See the Pen caret-up-large by w3resource (@w3resource) on CodePen.

Change color

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<style type="text/css">
.fa_custom {
color: #0099CC
}
</style>
</head>
<body>
<i class="fa fa-caret-up fa_custom"></i>
<i class="fa fa-caret-up fa_custom fa-2x"></i>
<i class="fa fa-caret-up fa_custom fa-3x"></i>
<i class="fa fa-caret-up fa_custom fa-4x"></i>
</body>
</html>

Live Demo

See the Pen caret-up-change-color by w3resource (@w3resource) on CodePen.


Previous: Font Awesome Caret-square-o-up Icon
Next: Font Awesome Chevron-circle-down Icon



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/icon/font-awesome/directional-icons/caret-up.php