The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
background: linear-gradient(270deg, #430fe4, #234ae8, #15a32d, #f55519, #d71abf); | |
background-size: 1000% 1000%; | |
-webkit-animation: AnimationName 6s ease infinite; | |
-moz-animation: AnimationName 6s ease infinite; | |
-o-animation: AnimationName 6s ease infinite; | |
animation: AnimationName 6s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} |
gifify() { | |
if [[ -n "$1" ]]; then | |
if [[ $2 == '--good' ]]; then | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
rm out-static*.png | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
fi | |
else |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'rdiscount' | |
require 'nokogiri' | |
words = 0 | |
limit = 2700 | |
content = $stdin.read | |
html = RDiscount.new(content).to_html |
// SASS | |
.header-main ul.inline li { | |
& a:hover { | |
background-color: $dkblue; | |
} | |
&.active-trail a { | |
background-color: $dkblue; | |
} | |
} |
Warning: Illegal offset type in unset in drupal_get_messages() (line 1791 of /var/www/git-dev.drupal.org/htdocs/includes/bootstrap.inc). | |
Warning: Illegal offset type in isset or empty in drupal_get_messages() (line 1793 of /var/www/git-dev.drupal.org/htdocs/includes/bootstrap.inc). | |
Notice: Undefined variable: search_box in include() (line 21 of /var/www/git-dev.drupal.org/htdocs/sites/all/themes/bluecheese/tpl/page.tpl.php). |
<ul> | |
<li>1.0 | |
<li>2.0 | |
<ul> | |
<li>2.1 | |
<li>2.2 | |
^ this would render incorrectly | |
VS. |