Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
Make sure your modal has an id: | |
<div class="modal" id="myModal" ... > | |
Then stick this bit of Javascript at at the end of your document: | |
*/ | |
$(document).ready(function() { |
.visible-android { | |
display:none; | |
} | |
.visible-ios { | |
display:none; | |
} | |
.on-device .visible-android, .on-device .visible-android { | |
display:inherit; | |
} | |
.device-ios .visible-android { |
01. <!DOCTYPE> | |
02. lang="…" | |
03. <title="…" /> | |
04. <link rel="…" /* home, next, prev… */ | |
05. skip to #main-content link | |
06. visual check /* color blindness */ | |
07. NO "javascript:" links | |
08. <a href="…" title="…"> | |
09. accesskey="…" /* samples below */ | |
10. NO <a href="…" target="_blank"> |
<!-- For iPad with high-resolution Retina display running iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152-precomposed.png"> | |
<!-- For iPad with high-resolution Retina display running iOS ≤ 6: --> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png"> | |
<!-- For iPhone with high-resolution Retina display running iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120-precomposed.png"> | |
<!-- For iPhone with high-resolution Retina display running iOS ≤ 6: --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png"> | |
<!-- For the iPad mini and the first- and second-generation iPad on iOS ≥ 7: --> | |
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png"> |
p { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
width: 100%; | |
} |
.clearfix:after { | |
content:"\0020"; | |
display:block; | |
height:0; | |
clear:both; | |
visibility:hidden; | |
overflow:hidden; | |
} | |
.clearfix { |
/* | |
* disable auto-zoom on iphone input field focus | |
* http://www.456bereastreet.com/archive/201212/ios_webkit_browsers_and_auto-zooming_form_controls/ | |
*/ | |
input[type='text']:focus, | |
input[type='number']:focus, | |
textarea:focus { | |
font-size: 16px; | |
} |
/* wrap <iframe> in a div */ | |
.responsive-video { | |
position: relative; | |
padding-bottom: 56.25%; /* 16/9 ratio */ | |
padding-top: 30px; /* IE6 workaround*/ | |
height: 0; | |
overflow: hidden; | |
} | |
.responsive-video iframe, | |
.responsive-video object, |
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */ | |
#fb-root { | |
display: none; | |
} | |
/* To fill the container and nothing else */ | |
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] { | |
width: 100% !important; | |
} |