diff --git a/src/buttons/css/buttons.css b/src/buttons/css/buttons.css index a7355e8..1a4acce 100644 --- a/src/buttons/css/buttons.css +++ b/src/buttons/css/buttons.css @@ -1,6 +1,7 @@ /*csslint unqualified-attributes:false, outline-none:false*/ -.pure-button { +.pure-button, +.pure-button:visited { font-size: 100%; *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/ *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */ diff --git a/src/buttons/tests/manual/button.html b/src/buttons/tests/manual/button.html index c9766f6..d29ad84 100644 --- a/src/buttons/tests/manual/button.html +++ b/src/buttons/tests/manual/button.html @@ -44,6 +44,11 @@ color: #fff; box-shadow: none; } + + a:visited { + color: green; + text-decoration: underline; + } @@ -108,5 +113,14 @@

+ +

Visited Button

+

+ A Pure Button should not inherit styles from a:visited. There has been some a:visited code inserted at the top of this page. The button below should look the same as a regular button. +

+ +

+ Visited Pure Button +