Created
December 21, 2012 14:57
-
-
Save makzan/4353291 to your computer and use it in GitHub Desktop.
Untitled
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
#content { | |
border: 2px solid green; | |
position: relative; | |
margin: 10px; | |
margin-top: 100px; | |
height: 24px; | |
line-height: 24px; | |
} | |
#content:after { | |
content: 'div#content'; | |
background: green; | |
padding: 5px; | |
position: absolute; | |
top: -36px; | |
left: 0; | |
color: white; | |
} | |
|
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
<div id='content'></div> | |
<script src='http://code.jquery.com/jquery.min.js'></script> |
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
$(function(){ | |
$('#content').html('This is executed after the page is ready (DOM Ready)'); | |
}); |
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-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment