-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Wachell
authored and
Michael Wachell
committed
May 12, 2018
1 parent
56aed8a
commit 2a7ea5d
Showing
129 changed files
with
9,192 additions
and
54 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
prepros.cfg | ||
less/demo-page.less | ||
index.jade | ||
index1.jade | ||
index1.html | ||
.idea/ | ||
node_modules/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 ciar4n | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<h1 id="imagehover-css">imagehover.css</h1> | ||
<p><em>A Scaleable & Light Image Hover CSS Library</em></p> | ||
<p>Imagehover.css is a lovingly crafted CSS library allowing you to easily implement scaleable image hover effects. Choose from over 40 hover effect classes from a CSS library weighing in at a minified size of only 19KB. </p> | ||
<p><a href="http://www.imagehover.io/">Check out all the hover effects here!</a></p> | ||
<h2 id="basic-usage">Basic Usage</h2> | ||
<ol> | ||
<li><p>Include the stylesheet on your document's <code><head></code></p> | ||
<pre><code class="lang-html"><head> | ||
<link rel="stylesheet" href="css/imagehover.min.css"> | ||
</head> | ||
</code></pre> | ||
</li> | ||
<li><p>Place the following markup in to your HTML document</p> | ||
<pre><code class="lang-html"><figure class="imghvr-fade"> | ||
<img src="#"> | ||
<figcaption> | ||
// Hover Content | ||
</figcaption> | ||
</figure> | ||
</code></pre> | ||
</li> | ||
<li><p>Edit the URL to your image and add your hover content. Then simply set the imagehover.css class of your choice to the containing figure element. In the example above this has been set to 'imghvr-fade'. A full list of hover effects and their classes can be found <a href="http://www.imagehover.io/">here!</a>.</p> | ||
</li> | ||
</ol> | ||
<h2 id="adding-a-link">Adding a Link</h2> | ||
<p>To link your image, add an empty <a> tag just after the figcaption element.</p> | ||
<pre><code class="lang-html"> <figure class="imghvr-fade"> | ||
<img src="#"> | ||
<figcaption> | ||
// Hover Content | ||
</figcaption> | ||
<a href="http://www.imagehover.io"></a> | ||
</figure> | ||
</code></pre> | ||
<h2 id="background-color">Background Color</h2> | ||
<p>You can change the background color via some inline CSS added to the figure element like so...</p> | ||
<pre><code class="lang-html"> <figure class="imghvr-fade" style="background-color:#D14233;"> | ||
<img src="#"> | ||
<figcaption> | ||
// Hover Content | ||
</figcaption> | ||
</figure> | ||
</code></pre> | ||
<p>Alternatively this can be applied via your CSS files. The following example will effect all elements with a imagehover.css class applied.</p> | ||
<pre><code class="lang-css">[class^='imghvr-'], | ||
[class*=' imghvr-'] { | ||
background-color: #D14233; | ||
} | ||
</code></pre> | ||
<h2 id="browser-support">Browser Support</h2> | ||
<p>Imagehover.css relies heavily on some CSS3 features including pseudo-elements, animations, transitions and transforms. Some older browsers will have limited support of these features. </p> |
Oops, something went wrong.