Lea Verou 2/19/2010

CSSNinja's custom forms revisited to work with CSS sprites

Read Original

This article presents a CSS technique for creating custom form elements like checkboxes and radio buttons. It builds upon an existing method by Ryan Sheddon (CSS Ninja) to enable the use of CSS sprites, allowing multiple button states to be managed within a single image file for better performance and control.

CSSNinja's custom forms revisited to work with CSS sprites

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
ServiceNow and Microsoft Copilot
Marius Sandbu 1 votes
2
The Learning Loop and LLMs
Martin Fowler 1 votes