A Pen by Andy Westmoreland on CodePen.
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
<style> | |
p { | |
border: solid 1px #DDDDDD; | |
border-bottom: 0; | |
margin-top: 25px; | |
text-align: center; | |
vertical-align: top; | |
} | |
</style> | |
<p>I am a paragraph.</p> |
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
<p style="border-left-color: #DDDDDD; border-left-style: solid; border-right-color: #DDDDDD; border-right-style: solid; border-top-color: #DDDDDD; border-top-style: solid; border-width: 1px 1px 0; margin-top: 25px; text-align: center; vertical-align: top;">I am a paragraph.</p> | |
<p style="border-left-color: #DDDDDD; border-left-style: solid; border-right-color: #DDDDDD; border-right-style: solid; border-top-color: #DDDDDD; border-top-style: solid; border-width: 1px 1px 0; margin-top: 25px; text-align: center; vertical-align: top;">I am a paragraph.</p> | |
<p style="border-left-color: #DDDDDD; border-left-style: solid; border-right-color: #DDDDDD; border-right-style: solid; border-top-color: #DDDDDD; border-top-style: solid; border-width: 1px 1px 0; margin-top: 25px; text-align: center; vertical-align: top;">I am a paragraph.</p> |
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
.page-our-members { | |
.member-grid { | |
width: 100%; | |
display: grid; | |
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); | |
grid-auto-flow: dense; | |
grid-gap: 20px; | |
figure { |
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 | |
if($_POST['token'] == $my_expected_token) { | |
$user_name = $_POST['user_name']; | |
echo "Hey, $user_name! You talk to your mother with that mouth?"; | |
} | |
else { | |
// GTFO | |
} | |
?> |
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 | |
echo "I got your message, yo!"; | |
?> |
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
$('#parent').on("click", "#child", function() {}); |
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
// Only works for existing button.remove elements | |
$('#broken button.remove').on('click', function(){ | |
$(this).remove(); | |
}); | |
// Works for existing button.remove elements, and new ones added dynamically | |
$('#working').on('click', 'button.remove', function(){ | |
$(this).remove(); | |
}); |
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
jQuery(document).ready(function() { | |
var cache_buster = Math.random(); | |
var s = document.createElement("script"); | |
s.type = "text/javascript"; | |
s.src = "//domain.com/path/js/javascript.js?"+cache_buster; | |
jQuery("body").append(s); | |
}); |
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
SELECT * FROM promotion_translations | |
JOIN promotions ON promotions.id = promotion_translations.promotion_id | |
WHERE promotion_translations.id = YOUR_ID |
NewerOlder