字体jquery ---

You don’t need icons! Here are 100+ unicode symbols that you can use

 

Ever needed to add an icon to your design, but you didn’t want to include images or an entire icon font like Font Awesome into your page? We’ve got good news for you – there is a vast library of available icons and glyphs already in your browser. It is called Unicode, and it is a standard which assigns a unique identifier for an ever expanding number (currently over 110 000) of characters, symbols and icons.

This doesn’t mean that you have a choice of a hundred thousand icons, though. It is up to the browser to render them, and it uses the fonts which are installed on the system to do so. In this article, we’ve collected a number of symbols that are available across Windows, Linux, OS X, Android and iOS. You can use them in your web designs today!

Tip: There is a good article which explains everything you need to know about character encodings and unicode, which we recommend for every software developer to read.

How to use these icons

The icons given in the tables below, are regular characters, which you can copy and paste as if they are letters of text. But if the encoding used to save your HTML/CSS files is not UTF-8 they might not show up. This is why we’ve provided an HTML escape code, which will always work. Here is what you need to do to use these icons:

  1. Find an icon that you like. We’ve provided small and large previews.
  2. Copy the code.
  3. Paste it in your HTML as regular text. In your CSS, you can use it as the value of the content property. In JS, PHP and other programming languages, you can use it as text in strings.
  4. You can customize the icons by setting a font-size, color and text shadows, just like regular text.

Icon-like

NamePreviewCode
Smiley☺
Hot Springs♨
8-Ball➑
White Star☆
Black Star★
White Heart♡
Black Heart❤
Airplane✈
Black Scissors✂
White Scissors✄
Crown♕
Cross✝
Black-White Circle◑
Eight Note♪
Beamed Eighth Notes♫
Four Balloon-Spoked Asterisk✣
Circled White Star✪
White Star✰
White Four Pointed Star✧
Black Four Pointed Star✦
Ballot Box Check☑
Check Mark✔
Cross Mark✘
Pencil✎
Writing Hand✍
Female♀
Male♂
Black Telephone☎
White Telephone☏
Envelope✉
Telephone Location✆

Arrows

NamePreviewCode
Leftwards Arrow←
Rightwards Arrow→
Upwards Arrow↑
Downwards Arrow↓
Left Right Arrow↔
Up Down Arrow↕
Right And Left Arrows⇄
Up And Down Arrows⇅
Down-Left 90deg Arrow↲
Down-Right 90deg Arrow↳
Up-Left 90deg Arrow↰
Up-Right 90deg Arrow↱
Leftwards Arrow To Bar⇤
Rightwards Arrow To Bar⇥
Anticlockwise Semicircle Arrow↶
Clockwise Semicircle Arrow↷
Anticlockwise Circle Arrow↺
Clockwise Circle Arrow↻
Wide-Headed Rightwards Arrow➔
Downwards Zigzag Arrow↯
North West Arrow↖
Heavy South East Arrow➘
Heavy Rightwards Arrow➙
Heavy North East Arrow➚
Dashed Rightwards Arrow➟
Dotted Leftwards Arrow⇠
Black Rightwards Arrowhead➤
Leftwards White Arrow⇦
Rightwards White Arrow⇨
Left Angle Quotation Mark«««
Right Angle Quotation Mark»»»
Right Black Pointer►
Left Black Pointer◀
Up Black Pointer▲
Down Black Pointer▼
Right White Pointer▷
Left White Pointer◁
Up White Pointer△
Down White Pointer▽
Bow Arrow➴

Special

NamePreviewCode
Numero№
Copyright©©©
Registered®®®
Trademark™
Estimated℮
Bullet•
Middle Dot···

Currency

NamePreviewCode
Euro€
Pound£££
Lira₤
Yen¥¥¥
Cent¢¢¢
Currency¤¤¤

Weather

NamePreviewCode
Degree°°°
Small Sun☀
Big Sun☼
Cloud☁
Snowflake 1❆
Snowflake 2❅
Snowflake 3❄

Pointers

NamePreviewCode
Pointer Left Black☚
Pointer Right Black☛
Pointer Left White☜
Pointer Up White☝
Pointer Right White☞
Pointer Down White☟

Card Suits

NamePreviewCode
Spades Black♠
Hearts Black♥
Diamonds Black♦
Clubs Black♣
Spades White♤
Hearts White♡
Diamonds White♢
Clubs White♧

Chess

NamePreviewCode
King White♔
Queen White♕
Rook White♖
Bishop White♗
Knight White♘
Pawn White♙
King Black♚
Queen Black♛
Rook Black♜
Bishop Black♝
Knight Black♞
Pawn Black♟

Maths

NamePreviewCode
Infinity∞
Plus Minus±±±
Less-Than Or Equal To≤
More-Than Or Equal To≥
Not Equal To≠
Division÷÷÷
Multiplication x×××
Heavy Multiplication x✖
Superscript One¹¹¹
Superscript Two²²²
Superscript Three³³³
Circled Plus⊕
Circled Multiplication⊗
Logical AND∧
Logical OR∨
Delta∆
Pie∏
Sigma (SUM)∑
OmegaΩΩΩ
Empty Set∅
Angle∠
Parallel∥
Perpendicular⊥
Almost Equal To≈
Triangle△
Circle○
Square□

Fractions

NamePreviewCode
One Quarter (1/4)¼¼¼
One Half (1/2)½½½
Three Quarters (3/4)¾¾¾
One Third (1/3)⅓
Two Thirds (2/3)⅔
One Eight (1/8)⅛
Three Eights (3/8)⅜
Five Eights (5/8)⅝
Seven Eights (7/8)⅞

Roman Numerals

NamePreviewCode
Roman Numeral OneⅠ
Roman Numeral TwoⅡ
Roman Numeral ThreeⅢ
Roman Numeral FourⅣ
Roman Numeral FiveⅤ
Roman Numeral SixⅥ
Roman Numeral SevenⅦ
Roman Numeral EightⅧ
Roman Numeral NineⅨ
Roman Numeral TenⅩ
Roman Numeral ElevenⅪ
Roman Numeral TwelveⅫ

A few notes

There are some rendering differences between these symbols across operating symbols. This is caused by the different font families that are used. Also, iOS and Android replace some Unicode characters with emoji, so be sure to test there to make sure that this doesn’t happen and the icons show as intended. Have fun coding! :)

转载于:https://www.cnblogs.com/zoupufa/p/4229448.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值