From 488b8dad2b68c2053eb3e1b84ee624d26d8981a3 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 3 Sep 2013 12:21:19 -0700 Subject: [PATCH] slightly clarify button.active use in docs --- css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.html b/css.html index cc482f95e3..51c5319fe3 100644 --- a/css.html +++ b/css.html @@ -2116,7 +2116,7 @@ For example, <section> should be wrapped as inline.

Buttons will appear pressed (with a darker background, darker border, and inset shadow) when active. For <button> elements, this is done via :active. For <a> elements, it's done with .active. However, you may use .active <button>s should you need to replicate the active state progammatically.

Button element

-

No need to add :active as it's a pseudo state, but if you need it, go ahead and add .active.

+

No need to add :active as it's a pseudo state, but if you need to force it, go ahead and add .active.