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
input { | |
font-size: 12px; | |
border: 0; | |
cursor: pointer; | |
border-radius: 3px; | |
padding: 0 5px; | |
color: #fff; | |
font-weight: bold; | |
background: #ffa20d; | |
background: -moz-linear-gradient(top, #ffa20d 0%, #f98600 100%); |
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
var b = undefined = 5; | |
var a; | |
if (b) a = 10; | |
console.log(a); |
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
h1 {font: bold 1.25em sans-serif; margin: 0.75em 0} | |
ul {list-style-type: disc; padding: 0 0 0 5%} | |
body {line-height: 1.5} | |
b {font-family: monospace; background: yellow} |
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
<!doctype html> | |
<title>@placeholder text should not be spell checked</title> | |
<textarea placeholder="foofoo"></textarea> | |
<p>Above textarea shows a red dotted bottom border in those browsers that try to check spelling on the placeholder. | |
<p>Even if the placeholder text was incorrect, to mark it as an error may cause frustation to the user since he cannot correct it. | |
<p>In Opera 11.50 the red border will appear after the textarea gains and loses focus for the first time. |
NewerOlder