Skip to content

Instantly share code, notes, and snippets.

View amirsuhail786's full-sized avatar
🎯
Focusing

Senior Front End Developer | Shopify Expert | eCommerce Specialist | WordPress Ninja amirsuhail786

🎯
Focusing
View GitHub Profile
<div id="share-buttons">
<!-- Digg -->
<a href="http://www.digg.com/submit?url={current_page_code_of_your_cms}" target="_blank">
<span class="fa fa-digg"></span>
</a>
<!-- Email -->
<a href="mailto:?Subject=HTML Share Buttons&amp;Body=I%20saw%20this%20and%20thought%20of%20you!%20">
<span class="fa fa-share"></span>
.iframeWrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
}
.iframeWrapper iframe {
position: absolute;
top: 0;
@amirsuhail786
amirsuhail786 / Media-Queries-for-Standard-Devices.css
Last active July 12, 2016 07:27
Media Queries for Standard Devices
/*======== Media Queries for Standard Devices ========*/
/* iPhone 6 Plus in portrait & landscape */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px) {
}
/* iPhone 6 Plus in landscape */
@amirsuhail786
amirsuhail786 / Input placeholders for IE
Last active April 7, 2019 18:15
Input placeholders for IE
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Input placeholders for IE</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="placeholder.jquery.js"></script>
<script>
$(function(){
$(':input[placeholder]').placeholder();
" Make IE Better Compatible "
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
======================================================
IE6 Only
==================
_selector {...}