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
/** | |
* CSS3 demo: City by night | |
* Multiple backgrounds, basic linear gradients | |
*/ | |
html, body { | |
height: 100%; | |
} | |
html { |
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
/* pseudo element as background-size */ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
position: relative; | |
height: 400px; | |
font-size: 100px; |
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
/* pseudo element as background-size */ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
position: relative; | |
height: 400px; | |
font-size: 100px; |
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
/* pseudo element as background-size */ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
position: relative; | |
height: 400px; | |
font-size: 100px; |
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
/* pseudo element as background-size */ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
position: relative; | |
height: 400px; | |
font-size: 100px; |
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
/** | |
* Lined Paper | |
*/ | |
html { | |
background-color:white; | |
padding:10px; | |
font-family:sans-serif; font-size:15px; | |
} | |
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 Pac-Man BUG IN CHROME 17 WINDOWS */ | |
#pacman { | |
width: 0; | |
height: 0; | |
border: 60px solid red; | |
border-right-color: transparent; | |
border-radius: 50%; | |
} |
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
body { | |
font-family: sans-serif; | |
} | |
ul { | |
list-style: none | |
} | |
li { | |
background: slategrey; |
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
<?php | |
function rkv_url_spamcheck( $approved , $commentdata ) { | |
$author_url = $commentdata['comment_author_url']; | |
$author_url_length = strlen($author_url); | |
if ($author_url_length > 50 ) | |
$approved = 'spam'; |
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
<?php | |
$src = '<iframe src="http://player.vimeo.com/video/68302803" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; | |
$matches = preg_match('/player\.vimeo\.com\/video\/(\d+)/', $src, $match); | |
if ($matches) { | |
$id = $match[1]; | |
$apiurl = 'http://vimeo.com/api/v2/video/' . $id . '.json'; | |
$response = file_get_contents($apiurl); | |
$json = json_decode($response, true); |
OlderNewer