mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 22:41:28 +08:00
442 lines
18 KiB
HTML
442 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Basic Page Needs
|
|
================================================== -->
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Font Awesome, the iconic font designed for Bootstrap">
|
|
<meta name="author" content="Dave Gandy">
|
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
|
|
<title>What's New</title>
|
|
|
|
<!-- CSS
|
|
================================================== -->
|
|
<link rel="stylesheet" href="../assets/css/site.css">
|
|
<link rel="stylesheet" href="../assets/css/pygments.css">
|
|
<link rel="stylesheet" href="../assets/font-awesome/css/font-awesome.css">
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="../assets/js/html5shiv.js"></script>
|
|
<script src="../assets/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
|
|
<script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script>
|
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
|
|
|
<script type="text/javascript">
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-30136587-1']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer -->
|
|
<div class="navbar navbar-inverse navbar-static-top hidden-print">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<i class="fa fa-bars fa-lg"></i>
|
|
</button>
|
|
<a class="navbar-brand" href="../"><i class="fa fa-flag"></i> Font Awesome</a>
|
|
</div>
|
|
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li class="hidden-sm "><a href="../">Home</a></li>
|
|
<li class="hidden-sm active">
|
|
<a href="../whats-new/">What's New</a>
|
|
</li>
|
|
<li class="hidden-xs hidden-md hidden-lg active">
|
|
<a href="../whats-new/">New</a>
|
|
</li>
|
|
<li><a href="../get-started/">Get Started</a></li>
|
|
<li class="dropdown-split-left"><a href="../icons/">Icons</a></li>
|
|
<li class="dropdown dropdown-split-right hidden-xs">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
<i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="../icons/"><i class="fa fa-flag fa-fw"></i> Icons</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="../icons/#new"><i class="fa fa-rub fa-fw"></i> New Icons in 4.0</a></li>
|
|
<li><a href="../icons/#web-application"><i class="fa fa-camera-retro fa-fw"></i> Web Application Icons</a></li>
|
|
<li><a href="../icons/#form-control"><i class="fa fa-check-square fa-fw"></i> Form Control Icons</a></li>
|
|
<li><a href="../icons/#currency"><i class="fa fa-won fa-fw"></i> Currency Icons</a></li>
|
|
<li><a href="../icons/#text-editor"><i class="fa fa-file-text-o fa-fw"></i> Text Editor Icons</a></li>
|
|
<li><a href="../icons/#directional"><i class="fa fa-hand-o-right fa-fw"></i> Directional Icons</a></li>
|
|
<li><a href="../icons/#video-player"><i class="fa fa-play-circle fa-fw"></i> Video Player Icons</a></li>
|
|
<li><a href="../icons/#brand"><i class="fa fa-github fa-fw"></i> Brand Icons</a></li>
|
|
<li><a href="../icons/#medical"><i class="fa fa-medkit fa-fw"></i> Medical Icons</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="dropdown-split-left"><a href="../examples/">Examples</a></li>
|
|
<li class="dropdown dropdown-split-right hidden-xs">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
<i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="../examples/">Examples</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="../examples/#inline">Inline Icons</a></li>
|
|
<li><a href="../examples/#larger">Larger Icons</a></li>
|
|
<li><a href="../examples/#fixed-width">Fixed Width Icons</a></li>
|
|
<li><a href="../examples/#list">List Icons</a></li>
|
|
<li><a href="../examples/#bordered-pulled">Bordered & Pulled Icons</a></li>
|
|
<li><a href="../examples/#spinning">Spinning Icons</a></li>
|
|
<li><a href="../examples/#rotated-flipped">Rotated & Flipped Icons</a></li>
|
|
<li><a href="../examples/#stacked">Stacked Icons</a></li>
|
|
<li><a href="../examples/#bootstrap">Bootstrap 3 Examples</a></li>
|
|
<li><a href="../examples/#custom">Custom CSS</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="../community/">Community</a></li>
|
|
<li><a href="../license/">License</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="http://blog.fontawesome.io">Blog</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="jumbotron jumbotron-ad hidden-print">
|
|
<div class="container">
|
|
<h1><i class="fa fa-lightbulb-o"></i> What's New</h1>
|
|
<p>What's New in the latest version — Font Awesome 4.0</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="social-buttons" class="hidden-print">
|
|
<div class="container">
|
|
<ul class="list-inline">
|
|
<li>
|
|
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
|
</li>
|
|
<li>
|
|
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe>
|
|
</li>
|
|
<li class="follow-btn">
|
|
<a href="https://twitter.com/fontawesome" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @fontawesome</a>
|
|
</li>
|
|
<li class="tweet-btn hidden-phone">
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://fontawesome.io" data-text="Font Awesome, the iconic font designed for Bootstrap" data-counturl="http://fortawesome.github.com/Font-Awesome/" data-count="horizontal" data-via="fontawesome" data-related="davegandy:Creator of Font Awesome">Tweet</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="container">
|
|
|
|
<section class="hidden-print">
|
|
<div class="stripe-ad">
|
|
<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/32291/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div>
|
|
|
|
|
|
<p class="lead">
|
|
Font Awesome is always getting a little awesome-er. So here's what's new in the latest version, Font Awesome
|
|
4.0. Have some ideas for new features?
|
|
<a href="../community/">Help contribute</a>.
|
|
</p>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
|
|
<section id="whats-new" class="feature-list">
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-file-text-o"></i> Completely Rewritten</h4>
|
|
Everything re-written from the ground up for speed and simplicity.
|
|
</div>
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-fighter-jet"></i> CSS Best Practices</h4>
|
|
New icon base class allows simpler CSS, faster rendering, and easier control.
|
|
</div>
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-terminal"></i> New Icon Names</h4>
|
|
Icons have been renamed to improve consistency and predictability.
|
|
</div>
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-thumbs-o-up"></i> Bootstrap 3</h4>
|
|
Font Awesome 4.0 is fully tested and compatible with Bootstrap 3.
|
|
</div>
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-code"></i> Better Compatibility</h4>
|
|
Font Awesome is now more compatible with all web frameworks, including Foundation.
|
|
</div>
|
|
<div class="col-md-4 col-sm-6">
|
|
<h4><i class="fa fa-rub"></i> 11 New Icons in 4.0</h4>
|
|
Requested by the active community on the <a href="https://github.com/FortAwesome/Font-Awesome">Font Awesome GitHub project</a>.
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="new-naming">
|
|
<h2 class="page-header">New Naming Conventions in 4.0</h2>
|
|
<p class="lead text-center alert alert-success">fa-[name]-[shape]-[o]-[direction]</p>
|
|
<p>
|
|
A desire for better icon naming <strong>consistency</strong> and <strong>predictability</strong> are at the heart
|
|
of the changes in naming conventions. Once you know the name of the base icon shape, you should be able to predict
|
|
the names of variants.
|
|
</p>
|
|
<div class="row">
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">fa-*</h4>
|
|
<p class="margin-bottom-sm">Solid icons as the base variant</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-bookmark fa-li"></i>
|
|
fa-bookmark
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-comment fa-li"></i>
|
|
fa-comment
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-folder fa-li"></i>
|
|
fa-folder
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-o</h4>
|
|
<p class="margin-bottom-sm">Outlined version of previous modifier</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-bookmark-o fa-li"></i>
|
|
fa-bookmark-o
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-comment-o fa-li"></i>
|
|
fa-comment-o
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-folder-o fa-li"></i>
|
|
fa-folder-o
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-circle</h4>
|
|
<p class="margin-bottom-sm">Circle under previous modifier</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-check-circle fa-li"></i>
|
|
fa-check-circle
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-exclamation-circle fa-li"></i>
|
|
fa-exclamation-circle
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-plus-circle fa-li"></i>
|
|
fa-plus-circle
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-square</h4>
|
|
<p class="margin-bottom-sm">Square under previous modifier</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-check-square fa-li"></i>
|
|
fa-check-square
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-twitter-square fa-li"></i>
|
|
fa-twitter-square
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-plus-square fa-li"></i>
|
|
fa-plus-square
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-right, *-up, etc.</h4>
|
|
<p class="margin-bottom-sm">Directional modifier always at the end</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-arrow-right fa-li"></i>
|
|
fa-arrow-right
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-arrow-circle-right fa-li"></i>
|
|
fa-arrow-circle-right
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-angle-double-right fa-li"></i>
|
|
fa-angle-double-right
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-alt</h4>
|
|
<p class="margin-bottom-sm">Alternative to the original</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-unlock-alt fa-li"></i>
|
|
fa-unlock-alt
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-list-alt fa-li"></i>
|
|
fa-list-alt
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-github-alt fa-li"></i>
|
|
fa-github-alt
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">*-h, *-v</h4>
|
|
<p class="margin-bottom-sm">Horizontal & vertical modifiers</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-arrows-v fa-li"></i>
|
|
fa-arrows-v
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-arrows-h fa-li"></i>
|
|
fa-arrows-h
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-ellipsis-v fa-li"></i>
|
|
fa-ellipsis-v
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 col-md-4 col-sm-6">
|
|
<h4 class="margin-bottom-sm">Combine 'em up...</h4>
|
|
<p class="margin-bottom-sm">Consistent when strung together</p>
|
|
<ul class="fa-ul padding-left-sm">
|
|
<li>
|
|
<i class="fa fa-arrow-circle-o-right fa-li"></i>
|
|
fa-arrow-circle-o-right
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-caret-square-o-right fa-li"></i>
|
|
fa-caret-square-o-right
|
|
</li>
|
|
<li>
|
|
<i class="fa fa-hand-o-right fa-li"></i>
|
|
fa-hand-o-right
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section id="new-upgrading">
|
|
<h2 class="page-header">Upgrading from 3.2.1?</h2>
|
|
<p>
|
|
For complete documentation of the syntax changes in 4.0, check out the
|
|
<a href="../examples">examples</a>. For the changes to icon names,
|
|
<a href="https://twitter.com/gtagliala">@gtagliala</a> has put together a
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/wiki/Upgrading-from-3.2.1-to-4">great wiki page</a> that
|
|
documents all the changes.
|
|
</p>
|
|
</section>
|
|
|
|
<section id="new">
|
|
<h2 class="page-header">11 New Icons in 4.0</h2>
|
|
|
|
<div class="margin-botom-large">
|
|
You asked, Font Awesome delivers with 11 shiny new icons in version 4.0.
|
|
Want to request new icons? <a href="../community/#requesting-new-icons">Here's how</a>.
|
|
</div>
|
|
|
|
|
|
<div class="row fontawesome-icon-list">
|
|
|
|
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/rub"><i class="fa fa-rub"></i> fa-rub</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/rub"><i class="fa fa-ruble"></i> fa-ruble <span class="text-muted">(alias)</span></a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/rub"><i class="fa fa-rouble"></i> fa-rouble <span class="text-muted">(alias)</span></a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/pagelines"><i class="fa fa-pagelines"></i> fa-pagelines</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/stack-exchange"><i class="fa fa-stack-exchange"></i> fa-stack-exchange</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/arrow-circle-o-right"><i class="fa fa-arrow-circle-o-right"></i> fa-arrow-circle-o-right</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/arrow-circle-o-left"><i class="fa fa-arrow-circle-o-left"></i> fa-arrow-circle-o-left</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/caret-square-o-left"><i class="fa fa-caret-square-o-left"></i> fa-caret-square-o-left</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/caret-square-o-left"><i class="fa fa-toggle-left"></i> fa-toggle-left <span class="text-muted">(alias)</span></a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/dot-circle-o"><i class="fa fa-dot-circle-o"></i> fa-dot-circle-o</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/wheelchair"><i class="fa fa-wheelchair"></i> fa-wheelchair</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/vimeo-square"><i class="fa fa-vimeo-square"></i> fa-vimeo-square</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/try"><i class="fa fa-try"></i> fa-try</a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/try"><i class="fa fa-turkish-lira"></i> fa-turkish-lira <span class="text-muted">(alias)</span></a></div>
|
|
|
|
<div class="fa-hover col-md-3 col-sm-4"><a href="../icon/plus-square-o"><i class="fa fa-plus-square-o"></i> fa-plus-square-o</a></div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<footer id="footer" class="footer hidden-print">
|
|
<div class="container text-center">
|
|
<div>
|
|
<i class="fa fa-flag"></i> Font Awesome 4.0.2
|
|
<span class="hide-xs">·</span><br class="hide-sm hide-md hide-lg">
|
|
Created by <a href="http://twitter.com/davegandy">Dave Gandy</a>
|
|
</div>
|
|
<div>
|
|
Font Awesome licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a>
|
|
<span class="hide-xs">·</span><br class="hide-sm hide-md hide-lg">
|
|
Code licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a>
|
|
<span class="hide-xs hide-sm">·</span><br class="hide-md hide-lg">
|
|
Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
|
|
</div>
|
|
<div>
|
|
Thanks to <a href="http://maxcdn.com"><i class="fa fa-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="http://www.bootstrapcdn.com/#fontawesome_tab">BootstrapCDN for Font Awesome</a>
|
|
</div>
|
|
<div class="project">
|
|
<a href="https://github.com/FortAwesome/Font-Awesome">GitHub Project</a> ·
|
|
<a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a> ·
|
|
<a href="../3.2.1">Old 3.2.1 Docs</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<script src="http://platform.twitter.com/widgets.js"></script>
|
|
<script src="../assets/js/jquery-1.10.2.min.js"></script>
|
|
<script src="../assets/js/ZeroClipboard-1.1.7.min.js"></script>
|
|
<script src="../assets/js/bootstrap-3.0.0.min.js"></script>
|
|
<script src="../assets/js/site.js"></script>
|
|
|
|
</body>
|
|
</html>
|