Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 23, 2015 02:52 pm GMT

So. Many. States.

"States" as in, contexts or situations in which any given element might be in. Let's take a stroll.

Imagine a button. Gosh I love buttons. So useful. We first think of a button in it's default state. It looks nice and button-like, ready to be clicked. That's one state. In CSS, we often think of some more:

  • The :hover state
  • The :active state
  • The :focus state
  • If it's a link, the :visited state

The type of HTML element plays a …


So. Many. States. is a post from CSS-Tricks


Original Link: https://css-tricks.com/so-many-states/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks