Skip to content

Instantly share code, notes, and snippets.

View 2kool2's full-sized avatar

Mike Foskett 2kool2

View GitHub Profile
@2kool2
2kool2 / index.html
Last active January 23, 2017 18:59
Responsively crop copy, restore onclick via slide animation
<h1>Responsively crop copy, restore onclick via sliding drop-down animation</h1>
<p>
Responsively crop content copy down to a user-defined number of lines.<br>
Click to fully restore the content via a sliding drop-down animation.<br>
All delivered in an accessible manner.<br>
</p>
<p>As used on Tesco's <a href="http://www.tesco.com/food-love-stories/">Food Love Stories</a></p>