Apr 21

Using CSS to Do Anything: 50+ Creative Examples and Tutorials


Posted in: CSS, Tutorial | Leave a Comment | 111 Comments

CSS can powerfully open the doors to a lot of rich and unique techniques. Today we are presenting a round-up of CSS coding, creative approaches and techniques. Definitely worth taking a very close look at! We also included some basic techniques you can probably use in every project you are developing. This is just the third article in this series , the forth part will be coming soon, stay tuned and Enjoy!


You can also take a look at other 2 articles in this series :


So let’s get started and don’t forget to subscribe to our RSS-Feed to keep track on our next post in this series.


Styling Lists

The Amazing <li>- With a little CSS, the <li> becomes one of the most powerful and versatile tags in a web designer's arsenal. This article is a tutorial and a tribute to the amazing <li>.


So let’s get started and don’t forget to subscribe to our RSS-Feed to keep track on our next post in this series.

Better Ordered Lists (Using Simple PHP and CSS)- Here is an example where you ditch the traditional ordered list and create your own!


Style Your Ordered List- Here is a quick CSS tutorial on how you can use the ordered list <ol> and paragraph <p> element to design a stylish numbered list.


List Based Calendar- A simple way to add multiple views to a calendar, so you can view your events in a simple list, or in a month based calendar format.


Forms and Form Elements

Datasheet-style form using HTML and CSS- Make a datasheet-style web form using HTML, CSS and JavaScript with multiple similar records,


Styling File Inputs with CSS and the Dom - File inputs (<input type="file" />) are the bane of beautiful form design. No rendering engine provides the granular control over their presentation designers desire. This simple, three-part progressive enhancement provides the markup, CSS, and JavaScript to address the long-standing irritation.


Better Web Forms: Redesigning eBay’s Registration- Is a detailed walkthrough of simple changes that have a dramatic positive impact.


Uni-Form- Uni-Form is an attempt to standardize form markup (xhtml) and css, “modularize” it, so even people with only basic knowledge of these technologies can get nice looking, well structured, highly customizable, semantic, accessible and usable forms


Footers

A CSS sticky footer that just works- In just a few simple CSS classes with minimal extra HTML markup, you can get a sticky footer that even beginners can get a handle on. It’s been tested in IE 5 and up, Firefox, Safari and Opera.


MAKING YOUR FOOTER STAY PUT WITH CSS- How to make your footer dock to the bottom of the screen.


New ideas for Image Replacement

Create Custom Search Bars - With Image Replacement using CSS


HR Image Replacement with CSS- How to replace the HR tag with an image that works cross browser.


Image Sprite

Image Sprite Navigation With CSS- Creating a navigation using an image sprite, you can have a complete navigation, rollovers and all, by only using one image.


CSS image techniques

Create Resizable Images With CSS- A new technique to resize images when the user increases their browser’s text size. Images are resized along with the text rather than staying constant in size.


CSS Stamps- Using the CSS property border and outline to achieve the stamp look.


Image Captions Generated with CSS and JavaScript- The names are not part of the image - they are stored in the img’s title attribute.


Cross-browser semi-transparent backgrounds- Semi-transparent backgrounds are nice. They would be more popular, but Internet Explorer doesn’t support .png transparency. There are a few clunky workarounds. Here’s another that’s a little less clunky.


CSS Rollovers- Learn how to create a simple rollover image using CSS.


Text and Links Effects

“Checkmark” Your Visited Links with Pure CSS- The goal of this tutorial is to get a check mark preceding visited links for a nice visual indicator.


Simple Round CSS Links - Now you can style both (a) and (button) in this super easy and light-weight solution


Pure CSS Popups- Using pure CSS causing text to appear and disappear.


Navigation

Perfect pagination style using CSS- This tutorial explains how to design a pagination for search results or more in general to split a long list of records in more pages.


VISTA style toolbar- How to create VISTA style toolbar with CSS,


Digg-like navigation bar using CSS- This tutorial explains how to design a digg-like navigation bar using a liquid design with rounded corners for links.


Menu circular en CSS- A circular menu with nice hover effect showing text description for each item in the menu.


Further readings on Navigation

4 Reasons to Use CSS-Based Navigation- By using CSS to create a navigational menu you can achieve both accessibility and a professional, attractive appearance. Vandelay Design listed the benefits of using CSS for navigational menus, Worth reading.


CSS Image Galleries

CSS Image Gallery- A purely CSS based image gallery that displays larger versions of thumbnail images dynamically when the mouse hovers over them. A rich HTML caption can be added to the enlarged image.


Not so simple photograph gallery- A CSS image gallery that have a default image, a line or two of descriptive text and the ability to click an image to hold it on the screen.


A sliding list click gallery- A demonstration to show a sliding tabs gallery, with a click to open action rather than a hover. Also the facility to add some descriptive text to accompany the large image.


Drop Caps

Nice Drop caps with CSS- Using the :first-letter pseudo-element, you can easily create nice drop caps with CSS. No extra HTML or Javascript required and IE5+ browser support.


Drop Caps- This small snippet of CSS utilises the :first-letter pseudo class to apply a particluar style to the first letter of each paragraph, giving the look of an illuminated initial.


Rounded Corners in a simple New approach

3 Simple Steps in Coding a Rounded Corners Layout- A simple approach to coding fixed width, rounded corners layout