Jan 21 2008

101 CSS Techniques Of All Time- Part2

Advertisement

Part 2 of our 101 CSS Techniques series takes a look at more handy css techniques that you can incorporate into your web designs. If you haven’t read Part I yet, you should read it here.


Block Hover Effect Links

block links


Style an A to Z Index

style-az-list


Typography Techniques

  • CSS StyleFun- How to achieve various effects using css, including typography (kerning, drop caps, big 1st letter), styled block-quotes, hover opacity… nice tutorial because it gives sample code/style sheets for each thing.
  • CSS Fonts, CSS Typography- Included are tutorials on how to size fonts with CSS, such as using CSS relative units, such as font size keywords, em, or % (percentage) units, along with cross-browser, cross-platform CSS font considerations.

Typography


CSS Pagination

Pagination is a mechanism which provides users with additional navigation options for browsing through single parts of the given article. Can be referred to by numbers, hints, arrows as well as “previous” and “next”-buttons.

  • CSS Pagination Links- Inspired by the pagination interface you see at the footer of Digg.com.
  • Pagination 101- Pagination 101, that will give you some clues as to what makes good pagination.
  • Some styles for your pagination- Styles for WP-Digg style pagination plugin, Digg Style pagination Class, the modular version, and the original programed bye strangerstudios.

CSS pagination


CSS Tabs

Tabs-based interfaces allow multiple documents to be contained within a single window and tabs can be used to navigate between them. Using CSS, information is loaded instantly with Ajax-based techniques. Some of the most interesting techniques we’ve found in the Web are listed below.

  • Glowing Tabs Menu- uses a background image that accentuates the outline of the tabs. And to jazz it up, the selected tab “glows”, by using the “Sliding Doors” technique to shift the original background image upwards to reveal the glowing version of the tab design. An exquisite yet professional looking horizontal menu.
  • DOMTab- is a unobtrusive JavaScript CSS navigation tabs that turns a list of links connected to content sections into a tab interface.
  • Control.Tabs- Control.Tabs attaches creates a tabbed interface from an unordered list of links/anchors that point to any elements on your page that have an id attribute.
  • Tabifier- Automatically create an HTML tab interface using plug-and-play JavaScript.

CSS Tabs


CSS Pullquotes

Pull quotes are commonly used in print publications to draw emphasis to a particular quote or excerpt from a document. They are quite common in magazines and newspapers and are usually short extracts from the article.

  • Simple CSS Blockquotes and Pullquotes- Blogsolid shows us how to get some sweet blockquotes and saucy pullquotes?
  • Automatic pullquotes- Using JavaScript based technique to add pullquotes without having to duplicate text in the markup.
  • CSS Pull Quotes- In this tutorial you will place the pullquote text in the title attribute of a paragraph or page division, and use the :before pseudo element’s ability to generate content to display the pullquote on the page.

CSS Pull Quotes


CSS Blockquote

A blockquote is used when quoting text from another source, usually another blog or website. Blockquotes are intended to accommodate a larger amount of text, so as a rule of thumb, use blockquotes when you are quoting more than one or two sentences.

CSS Block Quotes


Star Rater Techniques

CSS Star Rating


CSS Image Pop-Up

  • Cool CSS Image Pop-up- This is an Pop-UP image effect that is similar to the ones you see using JavaScript on mouseover or on click but THIS ONE uses ONLY CSS!
  • CSS Popup Image Viewer- With the help of CSS’s “:hover” pseudo class, combined with relative and absolute positioning, the enlarged images are simply included on the page as normal HTML, “popping” up on demand.
  • Pop-up images on inline links- When you hover over the link the image is then given its correct size and it pops-up, in this case beneath the link, but you can place it anywhere you like relative to the link.
  • Hoverbox Image Gallery- A super light-weight (8kb) roll-over photo gallery that uses nothing but CSS. View Example.

CSS Image Pop-Up


CSS Sitemaps

CSS sitemaps


Horizontal and Vertical Centering


About the Author

The jungle is alive: Be it a collaboration between two or more authors or an article by an author not contributing regularly. In these cases you find the Noupe Editorial Team as the ones who made it. Guest authors get their own little bio boxes below the article, so watch out for these.

Homepage

Comments and Discussions
  • Kai Chan Vong, 22 January 2008

    I’d really like to see more talked about CSS diagnostics.. I think Eric Meyer talked about them in a few of his posts but I’d like to see if anyone else has taken the concept any further.

    Also I’d be interested in seeing if anyone has a JS free method of doing alternate colours on elements which are odd and even from one another…

    Really nice post still! :)

  • Tedel, 22 January 2008

    Great so far… I wonder if there will be any part three. =)

  • Damjan Mozeti?, 23 January 2008

    Nice collection of tips!

  • Sebastian, 25 January 2008

    Amazing collection!

  • Chris, 26 January 2008

    Amazing List!!!

  • Noupe, 26 January 2008

    Kai Chan Vong
    There Several tools out there that help troubleshooting CSS, like Fiebug or web developer extension.
    John Allsopp got two bookmarklets XRAY and MRI.
    These 2 bookmarklets work in all contemporary browsers, not just Firefox.

  • Noupe, 26 January 2008

    Dejan
    I didn’t forget about “Block Hover Effect Links”, its the first point in this post.
    As for Outlining text with js, this is not related to this post as we are only concentrating on CSS techniques. And i will add it to my next Javascript code snippet post, good job Dejan:)

  • Noupe, 26 January 2008

    Thanks Tedel, Part3 is coming soon:)

  • Kai Chan Vong, 28 January 2008

    I use both of them – my open question was more to see if anyone has done anything interesting. We’ve seen the file type and the %if missing alt/title% tag – so I was simply asking if anyone had seen anything else cool.

  • Kai Chan Vong, 28 January 2008

    Also mean’t to say thank you for the other two bookmarklets – they’re really great! Thanks.

  • Troy, 15 February 2008

    Wow, you’ve found some very simple yet very nice effects here, something to think about with my blog redesign :)

    BTW: you NEED to delete that last spam post!

  • Alphabetix, 28 February 2008

    Thanks for sharing. Great info! I hadn’t thought of using pull quotes on web pages. Now I will.

  • Carter Creative Design, 26 March 2008

    Okay, I have to say these pages rock.
    I’m doing a web design in melbourne for a small company and they insisted the site aligned vertically within the browser… I wanted to make sure the site was W3C Standards and finally tracked down the CSS link here.

    Thanks, awesome stuff.

    James

  • Denker, 01 April 2008

    excellent, this very complete.

  • Thomas Godoj, 02 June 2008

    I like your Amazing Lists. Thanks for this css Part.

  • Matt, 21 August 2008

    Hey thanks for the great tips. I’m actually implementing some of these as we speak.

    Take care

  • Pika, 31 August 2008

    Thanks thanks :=)

  • said, 08 November 2009

    Excellent stuff!!! Thank you very much for sharing!

  • yoxx, 15 March 2010

    awesome! thank you very very much…

  • Michael Schwartz, 30 September 2010

    Some really great CSS techniques on this list. I always try to integrate them into my sites.

  • ilham ali, 02 October 2010

    Great collection of nice css works, thanks for makes things easier for me :)

  • Chrissy Compiseno, 17 January 2011

    can I link to your post?

  • Myfishing, 24 January 2011

    This is so great that I had to comment.Can I apparatus a allocation of your column to my blog?Thanks for sharing.

  • marchal, 02 April 2013

    awesome collection of css, thanks for share it

search form
 
image description image description