27 May '13, 5pm

I've only just started using the SASS darken/lighten mixin like a sucker

# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 975 def mix(color1, color2, weight = Number.new(50)) assert_type color1, :Color assert_type color2, :Color assert_type weight, :Number Sass::Util.check_range("Weight", 0..100, weight, '%') # This algorithm factors in both the user-provided weight (w) and the # difference between the alpha values of the two colors (a) to decide how # to perform the weighted average of the two RGB values. # # It works by first normalizing both parameters to be within [-1, 1], # where 1 indicates "only use color1", -1 indicates "only use color2", and # all values in between indicated a proportionately weighted average. # # Once we have the normalized variables w and a, we apply the formula # (w + a)/(1 + w*a) to get the combined weight (in [-1, 1]) of color1. # This formula has two especially nice properties: # # * When eit...

Full article: http://sass-lang.com/docs/yardoc/Sass/Script/Functions.ht...

Tweets

New post: Tutorial: Getting Started with the LPC810

New post: Tutorial: Getting Started with the LP...

electronics-lab.com 26 May '13, 10am

Tutorial: Getting Started with the LPC810 @ The Adafruit Learning System. This learning guide will show you everything you...

15 Cartoonists That Allow Using Their Web Comic...

seosmarty.com 26 May '13, 4pm

9 Responses to “15 Cartoonists That Allow Using Their Web Comics for Free” Hi. What a breath of fresh air. Just what I hav...

Google: Use The Disavow Tool Like A Machete & N...

seroundtable.com 28 May '13, 12pm

Legitimate = from good quality & trustworthy sites (high pagerank does not guarantee quality or trust), editorially placed...

Using a Siphon Coffee Maker >> The ultimate Sip...

coffeegeek.com 23 May '13, 9pm

You may have never heard of siphon coffee making. Then again, you may have read about it in the New York Times and thought...

Jeff Overton DQ'd at Colonial for using putting aid

Jeff Overton DQ'd at Colonial for using putting...

golf.com 25 May '13, 8pm

FORT WORTH, Texas (AP) -- Jeff Overton expressed his frustration on Twitter about his disqualification midway through the ...

Not Just Blowing in the Wind: Compressing Air f...

renewableenergyworld.com 27 May '13, 1pm

Enough Northwest wind energy to power about 85,000 homes each month could be stored in porous rocks deep underground for l...

#Psychographics Deconstructed: What We Look Like to Facebook Marketers #AIO

#Psychographics Deconstructed: What We Look Lik...

seomoz.org 25 May '13, 3pm

For those of you who were at this year's MozCon , this post is the punch line to my presentation (download it here ). If y...

Overton disqualified for using putting aid: American DQd for breach of rules midway through third round of Cro...

Overton disqualified for using putting aid: Ame...

golfmagic.com 25 May '13, 11pm

Former US Ryder Cup player Jeff Overton was disqualified midway through his third round of the Crowne Plaza Invitational f...

16 Examples of Huge Brands Using Twitter for Bu...

searchenginejournal.com 27 May '13, 5am

There are definitely more and more of these large corporate accounts every day. I really appreciate the ones who are worki...

Programmatic Attribution Modeling – Don’t Just ...

searchengineland.com 22 May '13, 1pm

The goal behind an attribution model is to understand how all of your marketing touch-points fit together, showing you whi...

LEDs in greenhouses deliver same yield as grow lights, using just 25% of the energy

LEDs in greenhouses deliver same yield as grow ...

treehugger.com 20 May '13, 4pm

Even with our growing emphasis on and awareness of the benefits to the environment when eating locally and seasonally, the...