Lose the Images: How to Get Rounded Corners, Gradients, Drop Shadows and More Using CSS
Posted by Justin
With the widespread adoption of CSS, web designers have been given more style freedom than ever before. What once was done with images and tables can now be accomplished with a few lines of code. This article gives examples on how to accomplish common design elements with the use of very minimal images, if any at all. Use CSS to lose the excess images and keep your page loading fast.
CSS Rounded Corners
- Spiffy Corners
Rounded corners using ONLY CSS.

- Curvy Corners
Another round corner site using CSS + JavaScript, this one is said to compare to something created in a graphics program.

- Even More Rounded Corners With CSS - Schillmania.com
FLUID rounded corners using CSS (no Javascript) and only 1 image. - Anti-aliased Nifty Corners
Use CSS + JavaScript to create anti-aliased rounded corners.
CSS Drop Shadows
- CSS Gradient Shadow - Dynamic Drive CSS Library
Drop shadows using CSS and JavaScript.

- CSS Drop Shadow - WebToolkit
Drop shadows without images. - HTML Text Drop Shadows
Drop shadows for your text, uses CSS and JavaScript. - All About CSS Drop Shadows
This one offers a few variations using CSS for drop shadows. - Drop Shadow Example
Another CSS + JavaScript version, this one you don’t have to type your text twice. - Simple CSS Drop Shadows - Saila.com
Drop shadows for both boxes and text. Uses only CSS.
CSS Gradients
- Cross-Browser Gradient Backgrounds Without Images
Cross-browser gradients without images.

CSS Mouseovers
- CSS+JavaScript Fancy Menu
Create an amazing menu with CSS + JavaScript.

- qTip - CSS Tooltips
Add tooltips to any link on your site.

- Sliding Doors of CSS - A List Apart
Get instant mouseover changes using only one image at a time. Also see the second part. - Scrollovers
“Scrollover” links which scroll rather than just change color. Uses CSS and JavaScript. - CSS Image Pop-up
Pop up images on mouseover. - Pure CSS Popups
Pop-up content using CSS. - Create A Block Hover Effect
Create a block-level mouseover.
CSS Quotes for Blockquotes
- Swooshy Curly Quotes Without Images - 24Ways
Create stylized quotes without images.

- Playing with BLOCKQUOTE and CSS
Here is an example of how to style BLOCKQUOTES without images. Styling works in IE, but the quotes are missing. - Quotes Using CSS on Flickr
Another example of quotes without images.
CSS Graphs and Diagrams
- CSS For Bar Graphs
CSS bar graphs using very few images.

- Displaying Percentages » Bare Naked App
Display a percentage bar using only two images.

- CSS Diagrams
Create a detailed diagram using no images. - StyleMap v2: HTML Visual Sitemap
Create a visual sitemaps using CSS + JavaScript. The site also has a CSS only version. - CSS: Unordered List Calendar
Create a calender using unordered lists.
Like this post? Stay up to date by Subscribing to our Full RSS Feeds








jen - September 30th, 2007
Nice, thanks! I’ve been looking for a CSS-only way to do rounding corners.
AlexJB - October 5th, 2007
nice ! one complaint tho - the cross-browser gradient using CSS does not use CSS only. it requires a big hunk of javascript code (although it claims to not use JS)
Chris Coyier - October 5th, 2007
Nice roundup =)
I have a live example of how to do some CSS blockquotes with a downloadable example available here:
Gunnar Andreassen - October 5th, 2007
Wow! Cool stuff - thanx!
digi dude - October 8th, 2007
Good post. A little bit too much links. it will take some time to check them all, but at least one can be sure to find something for oneself. Thanks.
Navdeep - October 15th, 2007
nice list. thanks
JS - October 24th, 2007
Awesome list, Thanks
WebTenet - December 31st, 2007
Great collection. Each one is worth checking.
Ralph - August 12th, 2008
My answer is like the first comment. I want to find a css-way for rounded corner without some pictures.
Ralph