Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 855 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Sass

Thread title: Sass
Reply    
    Thread tools Search this thread Display Modes  
08-11-2010, 01:46 AM
#1
.Nick is offline .Nick
.Nick's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,159
iTrader: 3 / 100%
 

.Nick is on a distinguished road

  Old  Sass

http://sass-lang.com/

Anyone else using it? I stumbled upon it via Compass while looking for a more convenient way to work with Blueprint.

Reply With Quote
08-11-2010, 03:46 PM
#2
santa is offline santa
santa's Avatar
Status: Member
Join date: Mar 2009
Location: Location: location.
Expertise: Design, HTML
Software: Espresso, Photoshop, Mail.app
 
Posts: 398
iTrader: 7 / 100%
 

santa is on a distinguished road

Send a message via ICQ to santa Send a message via AIM to santa Send a message via MSN to santa Send a message via Yahoo to santa Send a message via Skype™ to santa

  Old

Isn't it in Ruby, though? If it is, it's a shame, 'cause I tend to work with PHP environments, and it seems like an awesome idea.

Reply With Quote
08-11-2010, 04:37 PM
#3
.Nick is offline .Nick
.Nick's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,159
iTrader: 3 / 100%
 

.Nick is on a distinguished road

  Old

You write your stylesheets in Sass and run Ruby program in the background which converts them to CSS. Various output styles are available.

Reply With Quote
08-11-2010, 06:04 PM
#4
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

I've used Sass, Less and a number of other approaches to this general area (of "enhancing" our CSS authoring experience) and whilst nice, have yet to really be convinced by the whole idea. If the tools are there and you find them useful, great but I'm happy (relatively) with POCSS (Plain Old…).

santa, as .Nick mentioned, it's written in Ruby but that's no reason at all not to make use of it in your PHP development environment (unless you're embedding PHP into your CSS files).

Reply With Quote
08-11-2010, 08:57 PM
#5
Immersion is offline Immersion
Status: Senior Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 918
iTrader: 5 / 100%
 

Immersion is on a distinguished road

  Old

I actually quite like LESS css, I think its pretty neat and could save a lot of time. Also for development there is a javascript include that will convert it on the fly and cache it. Obviously you'd want to run the script to get the css on a live site.

Reply With Quote
08-11-2010, 10:15 PM
#6
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
 
Posts: 2,097
iTrader: 26 / 100%
 

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz

  Old

Originally Posted by Salathe View Post
I've used Sass, Less and a number of other approaches to this general area (of "enhancing" our CSS authoring experience) and whilst nice, have yet to really be convinced by the whole idea. If the tools are there and you find them useful, great but I'm happy (relatively) with POCSS (Plain Old…).

santa, as .Nick mentioned, it's written in Ruby but that's no reason at all not to make use of it in your PHP development environment (unless you're embedding PHP into your CSS files).
POCSS definitely trumps for me. SASS doesn't really offer much enhancement IMO.

Reply With Quote
08-11-2010, 11:07 PM
#7
.Nick is offline .Nick
.Nick's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,159
iTrader: 3 / 100%
 

.Nick is on a distinguished road

  Old

A few of the features I like
  • The lack of curly braces makes things look cleaner, especially when nesting
  • The ease of using a grid framework (eg. Blueprint) while keeping the markup clean. This is made even better by setting a variable for an elements width in columns and using it to calculate the width something else needs to fill the remaining space. I'll only need to change 3 variables when I transition from the fixed width grid that I'm using to develop and the fluid grid that I'll want in production.
  • Mixins for clearfix, hiding something, etc. Compass also has some built in for CSS3 things that require browser specific settings
  • Nice presentation of the different styles that apply to an element between different page ids, states, and when javascript is and isn't enabled (Drupal adds a class 'js' to <html>).

Reply With Quote
08-12-2010, 01:51 PM
#8
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
 
Posts: 2,097
iTrader: 26 / 100%
 

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz

  Old

I think this blog post is a great review of different methods you can use, including SASS.

I might try a few of them

Reply With Quote
08-12-2010, 01:55 PM
#9
thatjamie is offline thatjamie
thatjamie's Avatar
Status: Ruby on Rails Developer
Join date: Oct 2004
Location: England, UK
Expertise: Ruby, Rails, jQuery
Software: Chocolat, Sublime Text 3
 
Posts: 2,343
iTrader: 14 / 94%
 

thatjamie is on a distinguished road

Send a message via Skype™ to thatjamie

  Old

I've used it before and my business partner uses that, and HAML for all our projects.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed