Created
February 3, 2015 07:28
-
-
Save reygreen1/b433bd1d14ad523b56bc to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 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
<style type="text/css">.aaa {line-height:250px;border:#999999 dashed 1px;} | |
.aaa a{display:inline-block;vertical-align: middle;line-height:1.5em;font-size:12px} | |
</style><p class="aaa"><a>这里是高度为150像素的标签内的多行文字,文字大小为20像素。<br />这里是第二行,用来测试多行的显示效果。</a> </p> |
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
// alert('Hello world!'); | |
function onkeypress_callback(evt) { | |
var eType = evt.type; // Will return "keypress" as the event type | |
var eCode = 'keyCode is ' + evt.keyCode; | |
var eChar = 'charCode is ' + evt.charCode; | |
alert ("Captured Event (type=" + eType + ", key Unicode value=" + eCode + ", ASCII value=" + eChar + ")"); } |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment