This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
width: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.clearfix:after { | |
content:"\0020"; | |
display:block; | |
height:0; | |
clear:both; | |
visibility:hidden; | |
overflow:hidden; | |
} | |
.clearfix { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img { | |
position:absolute; | |
clip: rect(0px,60px,200px,0px); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.loader { | |
text-align: center; | |
} | |
.loader span { | |
display: inline-block; | |
vertical-align: middle; | |
width: 10px; | |
height: 10px; | |
margin: 50px auto; | |
background: black; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************** iPads (portrait and landscape) */ | |
@media | |
only screen | |
and (min-device-width : 768px) | |
and (max-device-width : 1024px) { | |
/* Styles */ | |
} | |
/************************** iPads (landscape) */ | |
@media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*IE10 and above */ | |
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
/* IE10+ specific styles go here */ | |
} | |
/* IE8 and below */ | |
body { | |
color: red; /* all browsers, of course */ | |
color: green1; /* IE8 and below */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Operator Description | |
IE represents Internet Explorer; if a number value is also specified, it represents a version vector | |
lt less than operator | |
lte less than or equal to | |
gt greater than | |
gte greater than or equal to | |
! the NOT operator | |
() subexpression operator | |
& the AND operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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; | |
} |
OlderNewer