background preloader

Accordion with CSS3

Accordion with CSS3
Using hidden inputs and labels, we will create a CSS-only accordion that will animate the content areas on opening and closing. View demo Download source Today we’ll experiment some more with the adjacent and general sibling combinator and the :checked pseudo-class. Using hidden inputs and labels, we will create an accordion that will animate the content areas on opening and closing. There are many variations of CSS-only accordions around, most of which are implemented using the :target pseudo-class. The problem with using :target is that we can’t really close the content areas again or have multiple sections open at the same time. So, let start! Please note: the result of this tutorial will only work as intended in browsers that support the CSS3 properties in use. The Markup We will be going through an example that uses checkboxes where one content section is open by default (the input needs to be ‘checked’). Let’s have a look at the style. The CSS On hover, we’ll make the label white: Demos

http://tympanus.net/codrops/2012/02/21/accordion-with-css3/

Fancy FAQ page using CSS3 only Usually, a FAQ page is that long page with lots of questions and answers, the one we are searching for when we need some extra info regarding a subject. So, for example, if you own a website that sells stuff, then you will need a page like that. In this article I'll show you how to create a fancy FAQ page using CSS3 only, no JavaScript. View demo 8 jQuery Plugins for Enhancing Typography Being able to improve and manipulate web typography has always been one of the biggest changes for web designers. But thanks to the ease of use and popularity of jQuery, developers are coming up with some clever ways to do just that. For this post we’ve gathered 8 useful jQuery plugins that allow you to do things to type that couldn’t be done before.

Orman Clark’s Vertical Navigation Menu: The CSS3 Version Next in the Orman Clark's coded PSD series is his awesome looking Vertical Navigation Menu. We'll recreate it with CSS3 and jQuery while using the minimal amount of images possible. The only images we'll be using are for the icons - I'll be creating a sprite using a new tool called SpriteRight, but this is optional. Additionally, I'll be using GradientApp to create my CSS3 gradients, but again this is optional. Step 1: Basic HTML Markup Six Degrees of Kevin Bacon Using Neo4j and Ruby Previously I showed you how to get Neo4j up and running with Ruby and how to find recommended friends on a social network. What about finding out how you are connected to someone outside of your friends of friends network? Do you remember the concept of six degrees of separation?

50 Great Free WordPress Themes From 2011 Oct 28 2011 There are probably a good amount of Noupe readers who would think little to nothing of paying money for a high quality WordPress theme if it was exactly what they were looking for. When compared to spending thousands of dollars on a unique design, a $40 investment in a premium theme for your website design is relatively painless. The number of premium WordPress theme stores and marketplaces has increased considerably over the last two years. Thankfully, many developers are still releasing quality designs for free. Amazing Hover Effects with CSS3 I have received a lot of questions lately about hover effects and how you can execute them using only CSS. There was a time when you would have to use jQuery to really make your effect stand out, but now CSS3 has some pretty amazing properties that help designers create some lightweight effects that truly stand out. Box Shadow

Using HTML5 to Create Charts and Graphs Today I found an interesting library – flotr2: an opensource library for drawing HTML5 charts and graphs. It allows you to draw charts in different formats such as: linesbarscandlespiesbubbles BS Konstata on the Behance Network Kon­stata is a niche font. Cre­ated for use as sten­cil for signage it fea­tures a set of only 10 dif­fer­ent ele­ments out of which you can com­pose the com­plete typeface. There­fore it bor­ders between being some­what grungy, mod­u­lar and classic. Kon­stata is sup­posed to be stenciled with closed coun­ters - which is pos­sible due to the mod­u­lar system. In fact there are no bridges in it at all. It con­sists of a com­plete set of uni­case let­ters - numer­als are meant to be done as roman num­bers, ger­man diacritics are includes as ue (ä), oe (ö), ae (ä) and ss (ß).

How To Create a Pure CSS Dropdown Menu With the help of some advanced selectors a dropdown menu can be easily created with CSS. Throw in some fancy CSS3 properties and you can create a design that was once only achievable with background images and Javascript. Follow this tutorial to see the step by step process of building your own pure CSS dropdown menu. The menu we’ll be creating features two sub categories that appear once the parent link is activated by a hover. The first series of sub-links appear underneath main nav bar, then the second series of links fly out horizontally from the first dropdown. Take a look at the CSS dropdown menu demo to see it all in action.

The chetankjain dev Blog: Minimal required code in HTML5 I've encountered this question repeatedly of late. "What are the tags required at bare minimum for a html file?" <TITLE>A small HTML</TITLE>

Related: