Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| /*************************************** | |
| Responsive Helper | |
| Usage: | |
| .my-box { | |
| padding: 10px; | |
| @include for-size(tv) { | |
| padding: 80px; | |
| } | |
| @include for-size(desktop-up) { |
| { | |
| "regiones": [ | |
| { | |
| "region": "Arica y Parinacota", | |
| "comunas": ["Arica", "Camarones", "Putre", "General Lagos"] | |
| }, | |
| { | |
| "region": "Tarapacá", | |
| "comunas": ["Iquique", "Alto Hospicio", "Pozo Almonte", "Camiña", "Colchane", "Huara", "Pica"] | |
| }, |
| (function(){ | |
| function randomErrors(){ | |
| var errorMessages = ['Unexpected Error!','Something happended, please try again']; | |
| var randomMessage = errorMessages[Math.floor(Math.random() * errorMessages.length)]; | |
| var currentURL = (window.location != window.parent.location) ? document.referrer : document.location; | |
| if (confirm( randomMessage )) { | |
| window.location.reload(true); | |
| } else { | |
| window.location.reload(true); | |
| } |
| <?php | |
| class WP_HTML_Compression { | |
| protected $compress_css = true; | |
| protected $compress_js = true; | |
| protected $info_comment = true; | |
| protected $remove_comments = true; | |
| protected $html; | |
| public function __construct($html) { | |
| if (!empty($html)) { |
| /*http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/*/ | |
| /*At least requires the meta viewport tag with content 'width=device-width'*/ | |
| @media only screen and (max-width: 1080px) and (orientation : portrait) { | |
| /* PORTRAIT: | |
| Windows Surface Pro*/ | |
| } | |
| @media only screen and (max-width: 800px) and (orientation : portrait) { | |
| /* PORTRAIT: | |
| Acer Iconia Tab A100 |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Fit canvas to viewport for mobile devices</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| } |
| # This is a template .gitignore file for git-managed WordPress projects. | |
| # | |
| # Fact: you don't want WordPress core files, or your server-specific | |
| # configuration files etc., in your project's repository. You just don't. | |
| # | |
| # Solution: stick this file up your repository root (which it assumes is | |
| # also the WordPress root directory) and add exceptions for any plugins, | |
| # themes, and other directories that should be under version control. | |
| # | |
| # See the comments below for more info on how to add exceptions for your |