This file contains hidden or 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or 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
| /** | |
| * 纯CSS打造Android Logo | |
| */ | |
| .android { | |
| position: absolute; | |
| left: 320px; | |
| top: 230px; | |
| } | |
| /**** BODY ****/ |
This file contains hidden or 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
| /** | |
| * 纯CSS打造Android Logo | |
| */ | |
| .android { | |
| position: absolute; | |
| left: 320px; | |
| top: 230px; | |
| } | |
| /**** BODY ****/ |
This file contains hidden or 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
| /** | |
| * 纯CSS打造Android Logo | |
| */ | |
| .android { | |
| position: absolute; | |
| left: 320px; | |
| top: 230px; | |
| } | |
| /**** BODY ****/ |
This file contains hidden or 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
| /** | |
| * 纯CSS打造Android Logo | |
| */ | |
| .android { | |
| position: absolute; | |
| left: 320px; | |
| top: 230px; | |
| } | |
| /**** BODY ****/ |
This file contains hidden or 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
| h3 {text-align: center; font-family: Microsoft Yahei;} | |
| .box {width: 500px; height: 300px; background-color: #eee;margin: 0 auto; text-align:center; border: 1px solid #ddd;margin-bottom: 10px;font-size:0; *font-size:200px;-webkit-text-size-adjust:none;} | |
| .box img {vertical-align: middle;} | |
| .box:after {display:inline-block; width:0; height:100%; content:"center"; vertical-align:middle; overflow:hidden;} |