- this
- is
- a
- list
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
/** | |
* Testing overflow box issue | |
*/ | |
#container { | |
border: 1px solid black; | |
height: 250px; | |
margin: 0 auto; | |
overflow: auto; | |
padding: 0; | |
position: relative; |
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
background: linear-gradient(-12deg, red 10%, yellow 20%, blue 30%, brown 40%, green 50%, pink 60%, orange, hotpink); |
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
/** | |
* Ice Burn bitch! | |
*/ | |
background: url(http://media.tumblr.com/tumblr_m87wwuJcMG1qjnpnp.gif); |
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
/** | |
* Ice Burn bitch! | |
*/ | |
background: url(http://media.tumblr.com/tumblr_m87wwuJcMG1qjnpnp.gif); |
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
Template: | |
<form> | |
{% csrf_token %} | |
</form> | |
Output: | |
<form> | |
<div style="display:none;"> | |
<input type="hidden" name="csrfmiddlewaretoken" value="thetoken666"> | |
</div> |
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: url(http://i.imgur.com/idUVX03.gif); |
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: url(http://i.imgur.com/idUVX03.gif); |
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 | |
*/ | |
h1 { | |
font-family: 'Josefin Slab', serif; | |
} |
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
foreach ($sxml->channel->item as $item) { | |
$formattedDate = date('F d, Y', strtotime($item->pubDate)); // January 02, 2014 | |
// For more format strings check out http://us2.php.net/manual/en/function.date.php | |
echo "<li class='tweet-item'>"; | |
echo "<h8>" . $item->title . "</h8>"; | |
echo "<br><a href=". $item->link ." target='_blank'>" . $item->link . "</a><br>"; | |
echo $formattedDate; | |
echo "</li>"; | |
} |