-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix css validation state bug in IE.
- Fix layout of examples.
- Loading branch information
Zoltan Hawryluk
committed
May 17, 2012
1 parent
b982e2d
commit 04c2cd6
Showing
14 changed files
with
110 additions
and
201 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* STEP 1: Show the user when a form field is required with an orange star. | ||
*/ | ||
|
||
/* Browsers that implement HTML5 Forms Natively */ | ||
input:required, textarea:required{ | ||
background:url("../images/asterisk_orange.png") no-repeat right top; | ||
} | ||
|
||
/* Polyfill */ | ||
input[required] { | ||
background:url("../images/asterisk_orange.png") no-repeat right top; | ||
} | ||
|
||
|
||
|
||
/* | ||
* STEP 2: Show the user when a form field has valid data in it with a green checkmark. | ||
*/ | ||
|
||
/* Browsers that implement HTML5 Forms Natively */ | ||
input[required]:valid, textarea[required]:valid { | ||
/* Make this important if you want IE10 to work right. */ | ||
background:url("../images/tick.png") no-repeat right top !important; | ||
} | ||
|
||
/* Polyfill */ | ||
input[required].wf2_valid { | ||
background:url("../images/tick.png") no-repeat right top; | ||
} | ||
|
||
|
||
|
||
|
||
/* | ||
* STEP 3: Show the user when a form field has invalid data in it with a red 'X'. | ||
*/ | ||
|
||
/* Browsers that implement HTML5 Forms Natively */ | ||
input:focus:invalid, textarea:focus:invalid { | ||
background:url("../images/cancel.png") no-repeat right top; | ||
} | ||
|
||
/* Polyfill */ | ||
input.wf2_invalid:focus { | ||
background:url("../images/cancel.png") no-repeat right top; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.