Summary Files Commits Branches @commit @diff @stats
path: root / index.html
diff options
context:
space:
mode:
Commitd35c4d0de4137397b1b58596707a58a24567d53b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 15:56:27 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 15:56:27 +0800
Files0d6c08d6e406e78b3c25b795f325b0af8b52a848 /index.html
Spectre-Dark-Gruvbox-d35c4d0de4137397b1b58596707a58a24567d53b.tar
Spectre-Dark-Gruvbox-d35c4d0de4137397b1b58596707a58a24567d53b.tar.gz
Spectre-Dark-Gruvbox-d35c4d0de4137397b1b58596707a58a24567d53b.zip
Parentbd6fbef46bf73b18760bb3ee24a8617d05306787 (diff)
cleanup code
1 files changed, 6 insertions, 11 deletions
-rw-r--r--index.html17
diff --git a/index.html b/index.html
index ad732b2..8c0e6c0 100644
--- a/index.html
+++ b/index.html
@@ -89,7 +89,7 @@
<section class="notes">
<p>There are 3 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM and Bower.</p>
<h5>Install manually</h5>
- <p>Download the compiled and minified <a href="https://github.com/picturepan2/spectre/tree/master/dist" target="_blank">Spectre CSS file</a> (about 28KB):</p>
+ <p>Download the compiled and minified <a href="https://github.com/picturepan2/spectre/tree/master/dist" target="_blank">Spectre CSS file</a> (about 26KB):</p>
<p><a href="https://github.com/picturepan2/spectre/tree/master/dist" target="_blank" class="btn btn-primary">Download Spectre.css</a></p>
<h5>Install with NPM</h5>
<!-- install with npm example -->
@@ -575,8 +575,8 @@
</label>
</div>
<div class="form-group">
- <button class="btn btn-primary" onclick="return false;">Submit</button>
- <button class="btn btn-link" onclick="return false;">Cancel</button>
+ <button class="btn btn-primary" type="submit">Submit</button>
+ <button class="btn btn-link" type="reset">Cancel</button>
</div>
</form>
</div>
@@ -645,8 +645,8 @@
<div class="form-group">
<div class="col-3"></div>
<div class="col-9">
- <button class="btn btn-primary" onclick="return false;">Submit</button>
- <button class="btn btn-link" onclick="return false;">Cancel</button>
+ <button class="btn btn-primary" type="submit">Submit</button>
+ <button class="btn btn-link" type="reset">Cancel</button>
</div>
</div>
</form>
@@ -799,7 +799,7 @@
</div>
</div>
<section class="notes">
- <p>For responsive video, add a container with the class <code class="label">video-responsive</code>. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9.</p>
+ <p>For responsive video, add a container with the class <code class="label">video-responsive</code>. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add <code class="label">.video-responsive-4-3</code> for 4:3 ratio video container.</p>
</section>
<!-- media example -->
@@ -2084,10 +2084,6 @@
</section>
</footer>
<script>
- // Stop form submission on demo and jump to page top
- document.getElementsByTagName('form').onsubmit = function() {
- return false;
- }
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@@ -2095,7 +2091,6 @@
ga('create', 'UA-2702768-8', 'auto');
ga('send', 'pageview');
-
</script>
</body>
</html>