Permalink
Browse files

Adding MIT license

  • Loading branch information...
1 parent 3209b9c commit 9ce7eba2330af678e343c8efdd88348b01f46213 Nathan Ford committed Feb 3, 2015
Showing with 31 additions and 4 deletions.
  1. +25 −1 README.md
  2. +6 −3 demo.html
View
@@ -40,4 +40,28 @@ A ‘Stylefill’ is a way to create new CSS properties using JavaScript. Stylef
## Support
-mm-fontsize.js will work in any browser that accepts [vw or vh CSS units](http://caniuse.com/#search=viewport%20units).
+mm-fontsize.js will work in any browser that accepts [vw or vh CSS units](http://caniuse.com/#search=viewport%20units).
+
+## License
+
+This script is released under The MIT License (MIT)
+
+Copyright (c) 2015 Nathan Ford
+
+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.
View
@@ -30,7 +30,9 @@
}
h2 {
- font-size: 1.5em;
+ font-size: 3vw;
+ max-font-size: 24px;
+ min-font-size: 18px;
margin: 1em 0 1em;
max-width: 20em;
}
@@ -70,7 +72,9 @@
<article>
- <h1>A quick brown fox jumps over the lazy dog.</h1>
+ <h1>Min and Max-font-size demo.</h1>
+
+ <h2>Grab the script <a href="https://github.com/nathanford/min-max-font-size">on github</a>.</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
@@ -85,7 +89,6 @@
<p>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</p>
<p>Sed adipiscing ornare risus. Morbi est est, blandit sit amet, sagittis vel, euismod vel, velit. Pellentesque egestas sem. Suspendisse commodo ullamcorper magna.</p>
-
</article>

0 comments on commit 9ce7eba

Please sign in to comment.