-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (87 loc) · 3.92 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>DiagnostiCSS — Visually detect any potentially invalid or inaccessible HTML markup</title>
<link href="http://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/base.css" media="screen, projection" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/ekpmkpffmmchjaopplcmdadmdhibpmdi" />
</head>
<body>
<article id="page">
<aside class="examples">
<ul>
<li><img src="i/examples/vk1.jpg" alt="Example #2 from vk" /></li>
<li><img src="i/examples/fs1.jpg" alt="Example #0 from flatstack.com" /></li>
<li><img src="i/examples/github_mobile.jpg" alt="Example #3 from github mobile" /></li>
<li><img src="i/examples/fs2.jpg" alt="Example #1 from flatstack.com" /></li>
</ul>
</aside>
<header>
<h1><a href="http://github.com/diagnosticss/diagnosticss">DiagnostiCSS</a></h1>
<p>Visually detect any potentially invalid or inaccessible HTML markup<a href="#fn-1">*</a></p>
</header>
<div class="contents">
<p>DiagnostiCSS highlights the following problems within markup:</p>
<ul>
<li>inline styles and event attributes</li>
<li>invalid links</li>
<li>empty or deprecated elements</li>
<li>elements missing required attributes</li>
</ul>
</div>
<div class="try-it">
<h2>Use it in your project</h2>
<p>
Good news everyone!
DiagnostiCSS proudly supports <a href="https://github.com/diagnosticss/diagnosticss#installation--usage">Rails</a>
and any other <a href="https://github.com/diagnosticss/diagnosticss#sinatra">Rack-compatible framework</a>.
</p>
<h2>Use it everywhere</h2>
<p>
Just drag the
<a href="javascript:(function(){dcss=document.createElement('LINK');dcss.href='http://diagnosticss.github.io/css/diagnosticss.css';dcss.rel='stylesheet';dcss.media='all';document.body.appendChild(dcss);})();"
class="super-bookmarklet" title="DiagnostiCSS">
DiagnostiCSS
</a>
link to your bookmarks toolbar to apply it on any page.
</p>
<div class="chrome-extension-wrap">
<h2>Chrome Extension</h2>
<p>
Yep. This is it.
Just
<a
href="https://chrome.google.com/webstore/detail/diagnosticss/ekpmkpffmmchjaopplcmdadmdhibpmdi"
onclick="javascript: chrome.webstore.install(); return false;"
class="super-extension">
install
</a> it.
</p>
</div>
</div>
<footer>
<div class="share-btns">
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<iframe src="http://ghbtns.com/github-btn.html?user=diagnosticss&repo=diagnosticss&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</div>
<p id="fn-1">
* — like a PRO ™
</p>
</footer>
</article>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1522660-20']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>