27 May '14, 6pm

Sanity check: does @SassCSS compile HSLA values to HEX? I've also seen it compiled to RGBA. Also, what is this for?

# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 1235 def mix(color1, color2, weight = number(50)) assert_type color1, :Color, :color1 assert_type color2, :Color, :color2 assert_type weight, :Number, :weight 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 esp...

Full article: http://sass-lang.com/documentation/Sass/Script/Functions....

Tweets

I learned about the !default feature in SASS to...

robots.thoughtbot.com 27 May '14, 9pm

You can assign to variables if they aren’t already assigned by adding the !default flag to the end of the value. This mean...

The Business Times: Household wealth takes knoc...

stproperty.sg 28 May '14, 12pm

On the whole, Singapore's household holdings of residential assets grew the slowest in eight years with a 1.8 per cent ris...

These scary stories are short -- but will also ...

singaporeseen.stomp.com.sg 25 May '14, 8am

This article is contributed by the Stomp Team. What makes a good scary story? These short yet chilling examples are proof ...

dzslides-sass (0.0.1): A SASS version of the dz...

rubygems.org 25 May '14, 4am

dzslides-sass 0.0.1 A SASS version of the dzslides css install gem install dzslides-sass Download Documentation Badge Subs...

Todo front end deve ler esta page!

sass-lang.com 03 Jun '14, 1pm

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...

5 luxurious children’s brands to check out in London: London is one of the world’s top shopping havens for lux...

5 luxurious children’s brands to check out in L...

aluxurytravelblog.com 27 May '14, 12pm

5 luxurious children’s brands to check out in London By Marta Miklinska on May 27, 2014 in Europe , Leisure Travel , Regio...

Weekend Check-In While Memorial Day is the unofficial kick-off for summer (YAYYY!), I’m also taking a moment to ...

Weekend Check-In While Memorial Day is the unof...

healthytippingpoint.com 25 May '14, 8pm

While Memorial Day is the unofficial kick-off for summer (YAYYY!), I’m also taking a moment to pause and remember what thi...