My thoughts on sass and compass

I have heard of Sass and Compass a long time a go, and right after reading about it I got them setup on my MacBook, using LiveReload to convert the Sass code to CSS in combination with Compass.app which I used to create the appropriate files to work with compass. I used these two apps in order to avoid having to configure anything through the terminal.

However, now I do not use any of the above apps, and instead use CodeKit which provides all the functionality you need to work with Sass and Compass.

I started working on a personal project, and it is the first time I am really digging into Compass. As the project does not have any sort of deadline, I can afford to try and “brake the web”  by trying every crazy idea, and do anything that Sass and Compass allows me to.

First step was getting the basic structure. In the documentation for Compass, you can see that it supports the blueprint grid system. Which can also be used to create liquid layouts for responsive design – a great feature that I discovered just after few hours of trying to create a compass function to convert the grid pixels to percentages:

 
@function reswidth($targetcol, $contextcol)  {  
$outwidth: 40px   
@return percentage (($outwidth * $targetcol - $blueprint-grid-margin) /         
($outwidth * $contextcol - $blueprint-grid-margin)) 
}

Of course you do not need to know about this function as the liquid grid give you that. But I share this just to give you an idea of how deep you can go with Compass. If I were to use the above function I would do something like:

 
#sidebar{       
width: reswidth(3, 24) 
}

So that would give me the equivalent width of three columns on percentages.

Up to now in my project (which I started yesterday) I am using about 5 mixins and one other function, plus a dozen of variables. All of which makes CSS coding a lot more “logical”. Then finally, all these variables, functions and mixins, form the ordinary CSS files references in the HTML file (as usual)

I did not intent for this post to be a walk through of how to work with Sass and Compass but simply to give you a feel of how useful working with these frameworks is.

Your website should be the hub of social interaction

Your website should be the hub of social interaction, not sitting on the sidelines. It has the potential to draw together conversation across multiple networks and allow users to interact with friends, whether buying a camera or sharing an inspirational quote.

Quote taken from Paul Boag. Also as mentioned at the bottom of the same source, do check out the post “Social Media Is A Part Of The User Experience” as it goes through some really useful design patterns of how to fully integrate social media to your website.

Of course this integration should go beyond providing few links to redirect them to your social profiles, but instead allowing users get a taste of what they are going to get it they click on the “follow us” link - essentially.

Welcome to my personal blog

I thought really hard, or really long at least as to the blogging style I should follow. There are a lot of important blogs that we as web designers should be following. I myself have hundreds of feeds on my google reader and thousands of posts that I have not checked out, and I am certain that I am not saying anything that you have not experienced yourself.

So I thought I should follow my heroes and start writing tutorial posts, teaching people what I already know, and sure enough it has been few months that I have started collecting materials and making notes on different tutorials that I could write.

However at the end of it all, there was nothing that I could teach you that you (and me both) cannot learn from the more experienced blogger that are an amazing help to our community.

So I do not feel that I would be contributing that much if I entered that amazing circle — maybe in the future, we’ll never know.

As a result, “Welcome to my micro-blog”. This where I will share my thoughts on web design, web development and graphic design mainly based on what I discover around the web and what ever I am working on.