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
.latest-post-title-inline { | |
display: inline-block; | |
} | |
.latest-post-title-inline:first-letter { | |
text-transform: lowercase; | |
} |
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
.hyphenate | |
overflow-wrap: break-word; | |
word-wrap: break-word; | |
-webkit-hyphens: auto; | |
-ms-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
} |
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
.target-element { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} |
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
document.addEventListener("touchstart", function(){}, true); |
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
origami('#demo-1') | |
.flip('horizontal') | |
.image('images/person.jpg', 0, 0, 200, 200) |
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($){ | |
console.log('$ sign is referenced to jQuery: ', $); | |
$('#test-element').fadeOut().fadeIn(); | |
})(jQuery); |
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
<?php | |
$is_correct = false; | |
$answer = ""; | |
if (isset($_POST['answer'])) { | |
$answer = $_POST['answer']; | |
if ($answer == 150) { | |
$is_correct = true; | |
} | |
} |
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
<?php | |
$name = "Thomas"; | |
$day = date( "l"); | |
?> | |
<!DOCTYPE html> | |
<title>Hello PHP</title> | |
<h1>Hello <?= $name ?></h1> | |
<p> | |
It's <?= $day ?> today. |
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
<?php | |
$name = "PCMS PHP Class"; | |
$day = date("l"); | |
?> | |
<h1><?= $name ?></h1> | |
<p> | |
Welcome to the <?php echo $name ?>. | |
It is <?= $day ?> today. | |
</p> |