mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
parent
742a0beb49
commit
14a89fbe9f
@ -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 */
|
||||
|
@ -44,6 +44,11 @@
|
||||
color: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: green;
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@ -108,5 +113,14 @@
|
||||
<input type="button" class="pure-button pure-button-primary" value="Input Button">
|
||||
<input type="reset" class="pure-button pure-button-primary" value="Reset">
|
||||
</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>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user