mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Improves spacing between elements and typography
This commit is contained in:
16
index.html
16
index.html
@@ -7,14 +7,20 @@
|
||||
<link rel="stylesheet" href="bower_components/primer-css/css/primer.css">
|
||||
<link rel="stylesheet" href="bower_components/octicons/octicons/octicons.css">
|
||||
<link rel="stylesheet" href="bower_components/highlightjs/styles/github.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900">
|
||||
<link rel="stylesheet" href="demo.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="gradient text-center">
|
||||
<header class="header gradient text-center">
|
||||
<h1 class="title">clipboard.js</h1>
|
||||
<h2 class="subtitle">A modern approach to copy & cut to the clipboard</h2>
|
||||
<h2 class="subtitle" style="color: white">No Flash. No dependencies. Just 2kb</h2>
|
||||
<h2 class="subtitle">No Flash. No dependencies. Just 2kb</h2>
|
||||
<p class="gh-btns">
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=zenorocha&repo=clipboard.js&type=watch&count=true&size=large"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="152" height="30"></iframe>
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=zenorocha&repo=clipboard.js&type=fork&count=true&size=large"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="156" height="30"></iframe>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<main class="wrap">
|
||||
@@ -42,7 +48,7 @@
|
||||
|
||||
<h1>Usage</h1>
|
||||
|
||||
<p>There are different options for you to use and they all take advantage of <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes">HTML5 data attributes</a>.</p>
|
||||
<p>We're living a <em>declarative renaissance</em>, that's why we decided to take advantage of <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes">HTML5 data attributes</a> for better usability.</p>
|
||||
|
||||
<h3>Copy text from attribute</h3>
|
||||
|
||||
@@ -130,7 +136,7 @@
|
||||
</ul>
|
||||
</main>
|
||||
|
||||
<footer class="gradient text-center">
|
||||
<footer class="footer gradient text-center">
|
||||
<p class="credits">
|
||||
Made with <span class="love">♥</span> by <a class="credits-link" href="http://zenorocha.com/">Zeno Rocha</a> under <a class="credits-link" href="http://zenorocha.mit-license.org/">MIT license</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user