<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Creating an Image Sprite

Posted on
6,084 Points
84 Views
Last Modified:
Experience Level: Beginner
5:06
In this Micro Tutorial viewers will learn how to create a CSS image sprite
(In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite)

Video Steps

1. Open a new Photoshop document with a width of (Icon width)x(Number of icons) and height of 2x(Icon height)

2. Click and drag to create guides that divide the canvas into equal boxes, one for each icon

3. Use the shape tool to create a base for a button in the top left box

4. Select the shape, hold down Shift+Alt, and click and drag to duplicate

5. Add text to the top left shape using the Text tool

6. Select the text, hold down Shift+Alt, and click and drag to duplicate

7. Edit the text for each button

8. Select all layers, hold down Shift+Alt, and click and drag to the second row to create the hover icons

9. Select one of the hover icon layers, right click, and select Blending Options to apply an effect

10. Right click on the layer again and select Copy Layer Style

11. Right click on the other hover icon layers and select Paste Layer Style

12. Save the icon as a transparent image

13. In a text document, note the height, width, and (x,y) coordinates of each icon

0
Comment
0 Comments

Featured Post

Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Join & Write a Comment

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month