mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
parent
742a0beb49
commit
14a89fbe9f
@ -1,6 +1,7 @@
|
|||||||
/*csslint unqualified-attributes:false, outline-none:false*/
|
/*csslint unqualified-attributes:false, outline-none:false*/
|
||||||
|
|
||||||
.pure-button {
|
.pure-button,
|
||||||
|
.pure-button:visited {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
|
*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 */
|
*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
|
||||||
|
@ -44,6 +44,11 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: green;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -108,5 +113,14 @@
|
|||||||
<input type="button" class="pure-button pure-button-primary" value="Input Button">
|
<input type="button" class="pure-button pure-button-primary" value="Input Button">
|
||||||
<input type="reset" class="pure-button pure-button-primary" value="Reset">
|
<input type="reset" class="pure-button pure-button-primary" value="Reset">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h2>Visited Button</h2>
|
||||||
|
<p>
|
||||||
|
A Pure Button should not inherit styles from <code>a:visited</code>. There has been some <code>a:visited</code> code inserted at the top of this page. The button below should look the same as a regular button.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a class="pure-button" href="http://yahoo.com">Visited Pure Button</a>
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user