Skip to content

Instantly share code, notes, and snippets.

View DigitalCoder's full-sized avatar

Emmanuel DEILLER DigitalCoder

  • France
View GitHub Profile
(function() {
var script,
scripts = document.getElementsByTagName('script')[0];
function load(url) {
script = document.createElement('script');
script.async = true;
script.src = url;
scripts.parentNode.insertBefore(script, scripts);
/* #Media Queries
================================================== */
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {}
/* Smartphones (portrait) ----------- */
/* iPad In Portrait & Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {}
/* iPad In Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {}
/* iPad In Portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {}
/* Retina Display iPads */