To learn more about "CSS sprites" conception, see Sprite (computer graphics) [wikipedia].

The sprites were generated with the help of website-performance.org and are CSS3 valid.

The minified version of the CSS file of the package was processed with the YUI Compressor.

The PNG sprites are optimized with Smush.itTM.

Global sprite overview

 |   |  Clic on an icon below to see the full set in both colors.

Sprites usage

To use the sprites, just include the CSS definition file in your HTML document:

	<link rel="stylesheet" href="path/to/src/gentleface-sprites.css" />
	// or the minified version (light weight):
	<link rel="stylesheet" href="path/to/src/gentleface-sprites.min.css" />

The sprites are used adding specific CSS classes to a DOM entity such as a span. Each item of the sprites is accessible by using one of the global CSS classes gentleface-XX where "XX" is an icon size in 16, 24, 32 or 48; each item will be an empty square of XX by XX pixels with the wanted image as background. This background is defined adding the name of the item as a CSS class. For example, to construct an item using the "print" image, the CSS class to use will be gentleface-XX print.

As the images are proposed in black or white, the color can be added as a class.

A special reset class can be used to reset some basic CSS definitions for an item, such as its border (none), its margins and paddings (0).

Full synopsis

A complete usage synopsis of the sprites could be:

    <span class="gentleface[-16 | 24 | 32 | 48] [reset] [black | white] icon_name"></span>

Defaults

A default class is defined to use the "black" set of 16 by 16 pixels icons. Using the standalone class gentleface will be the same as gentleface-16 black.

Effects

Some special classes are designed to add some effects on certain icons, such as a "link hover" effect.

Examples

    // for a black (default) version of icon 'balance' in size 16x16 (default)
    <span class="gentleface balance"></span>
    // or
    <span class="gentleface-16 app_window_shell"></span>

    // for a black (default) version of icon 'app_window_shell' in size 24x24
    <span class="gentleface-24 app_window_shell"></span>
    // or
    <span class="gentleface-24 black app_window_shell"></span>

    // for a white version of icon 'rss' in size 32x32
    <span class="gentleface-32 white rss"></span>

    // using the same with the 'reset' feature
    <span class="gentleface-32 reset white rss"></span>

    // usage of the 'hover-COLOR' feature
    <a ...><span class="gentleface-48 reset hover-white rss"></span></a>
    <a ...><span class="gentleface-32 reset white hover-black rss"></span></a>

    // usage of the 'active-COLOR' feature
    <span><span class="gentleface-24 reset active-white shield"></span></span>
    <span class="active"><span class="gentleface-24 reset active-white shield"></span></span>

Results:

 | 

Full icons review

This table presents each icon separatly. To see the CSS class used, put you mouse hover an item. Words between brackets are optional.

Name White sprite Black sprite
16x16 px sprite 24x24 px sprite 32x32 px sprite 48x48 px sprite 16x16 px sprite 24x24 px sprite 32x32 px sprite 48x48 px sprite
info
attention
cancel
delete
trash
zoom
heart_empty
heart
home
fire
2x2_grid
3x3_grid_2
3x3_grid
app_window
app_window_black
app_window_black_2
app_window_cross
app_window_cross_2
app_window_2
app_window_shell
app_window_shell_2
browser
font_bold
font_italic
font_size
font_strokethrough
font_underline
picture
text_curstor
text_letter_t
align_center
align_just
align_left
align_right
list_bullets
list_num
indent_decrease
indent_increase
image_text
paragraph
print
clipboard_copy
clipboard_cut
clipboard_past
brackets
brush
clip
layers
layers_2
shapes
page_layout
push_pin
fill
cur_bp
cur_dollar
cur_euro
cur_yen
calc
calendar
calendar_2
case
notepad
notepad_2
shop_cart
user
users
bell
book
book_side
bookmark
bookmark_2
chart_bar
chart_line
chart_line_2
chart_pie
shopping_bag_dollar
shopping_bag
wallet
track
dashboard
wrench
wrench_plus
wrench_plus_2
off
on-off
on
pencil
cog
cogs
key
lightbulb
lighting
bug
cert
magic_wand
magic_wand_2
loading_throbber
padlock_closed
padlock_open
lock_open
eye
eye_inv
invisible_light
invisible_revert
checkbox_checked
checkbox_unchecked
checkmark
flag
flag_2
tag
target
sand
save
shield
shield_2
money
filter
cursor_H_split
cursor_V_split
cursor_arrow
cursor_drag_arrow
cursor_drag_arrow_2
cursor_drag_hand
cursor_hand
redo
undo
refresh
reload
top_right_expand
expand
download
export
import
doc_delete
doc_edit
doc_empty
doc_export
doc_import
doc_lines
doc_lines_stright
doc_minus
doc_new
doc_plus
document
folder_arrow
folder_delete
folder
folder_minus
folder_open
folder_plus
arrow_l
arrow_r
arrow_bottom
arrow_bottom_left
arrow_bottom_rigth
arrow_left
arrow_right
arrow_top
arrow_top_left
arrow_top_right
arrow_two_head
arrow_two_head_2
chat_bubble_message_square
contact_card
contact
inbox
mail
mail_2
message_attention
spechbubble
spechbubble_2
spechbubble_sq
spechbubble_sq_line
db
server
delete_server
phone_1
phone_2
battery
preso
monitor
comp
iphone
phone
phone_touch
photo
vault
wifi_router
sat_dish
wireless_signal
podcast
rss
rss_sq
air_signal
cassette
tape
movie
music
music_square
headphones
mic
microphone
sound_high
sound_low
sound_mute
playback_ff
playback_next
playback_pause
playback_play
playback_prev
playback_rec
playback_reload
playback_rew
playback_stop
fastforward_next
rewind_previous
eject
inject
br_down
br_next
br_prev
br_up
rnd_br_down
rnd_br_first
rnd_br_last
rnd_br_next
rnd_br_prev
rnd_br_up
round_and_up
round_arrow_left
round_arrow_right
round_checkmark
round_delete
round
round_minus
round_plus
sq_br_down
sq_br_first
sq_br_last
sq_br_next
sq_br_prev
sq_br_up
sq_down
sq_minus
sq_next
sq_plus
sq_prev
sq_up
square_shape
pin
pin_2
pin_map_down
pin_map
pin_map_left
pin_map_right
pin_map_top
pin_sq_down
pin_sq_left
pin_sq_right
pin_sq_top
burst
star_fav_empty
star_fav
star
sun
share
share_2
openid
google
youtube
facebook
twitter
twitter_2
connect
disconnected
not_connected
net_comp
network
hand
hand_2
hand_contra
hand_pro
emotion_sad
emotion_smile
stairs_down
stairs_up
clock
compass
stop_watch
box
cube
globe
globe_2
globe_3
balance
cc
cloud
cloud_rain
coffe_cup
game_pad
glasses
hanger
paper_airplane