Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| $sprites: sprite-map("sprites/*.png"); | |
| $sprites-retina: sprite-map("sprites-retina/*.png"); | |
| @mixin sprite-background($name) { | |
| background-image: sprite-url($sprites); | |
| background-position: sprite-position($sprites, $name); | |
| background-repeat: no-repeat; | |
| display: block; | |
| height: image-height(sprite-file($sprites, $name)); | |
| width: image-width(sprite-file($sprites, $name)); |
| // Use @include colorize('image.png', red, 0.5) | |
| @mixin colorize($image, $color, $opacity) { | |
| background: $color; | |
| $color: transparentize($color, 1 - $opacity); | |
| background: -webkit-linear-gradient(left, $color, $color), url($image); | |
| background: -moz-linear-gradient(left, $color, $color), url($image); | |
| background: -ms-linear-gradient(left, $color, $color), url($image); | |
| background: -o-linear-gradient(left, $color, $color), url($image); | |
| } |
| /* | |
| Ratings Stars | |
| (with as little code as possible) | |
| */ | |
| .rating { | |
| unicode-bidi: bidi-override; | |
| direction: rtl; | |
| text-align: center; | |
| } | |
| .rating > span { |
| /* | |
| Triangle with Shadow | |
| */ | |
| body { | |
| padding: 100px; | |
| } | |
| .triangle-with-shadow { | |
| width: 100px; |
| /* | |
| NOTE!!!! | |
| The most updated version of this code is here: | |
| https://github.com/scottjehl/iOS-Orientationchange-Fix |
| var logtime = (function() { | |
| var ids = {}; | |
| return function(id) { | |
| if (!ids[id]) { | |
| ids[id] = +new Date(); | |
| return; | |
| } | |
| var time = +new Date() - ids[id]; |
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
| <script src="jquery.ketchup.all.min.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <div id="email"> | |
| <span>Enter your email to sign up</span> | |
| <form action="/subscribe.php" id="invite" method="POST"> |