Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Amir Suhail  amirsuhail786

🏠
Working from home
View GitHub Profile
View HTML Share Buttons Code
<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>
View Full width video in iframe
.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 Jul 12, 2016
Media Queries for Standard Devices
View Media-Queries-for-Standard-Devices.css
/*======== 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 Apr 7, 2019
Input placeholders for IE
View 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();
View IE CSS Hacks All - IE6, 7, 8, 9, 10, 11, Edge
" Make IE Better Compatible "
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
======================================================
IE6 Only
==================
_selector {...}