<

[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x

Creating an Image Sprite

Posted on
6,071 Points
71 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Suggested Courses
Course of the Month20 days, 6 hours left to enroll

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month