Articles with tag CSS

Write LESS and DRY with CSS

Write LESS and DRY with CSS

Posted on: Apr 17th 2012
When do more and write less is the mantra; when library like jQuery is used gloablly why will CSS be left out? And why can't we have CSS with brains so that we can add logic to CSS? Well for the DRY approach and logic LESS is the ultimate solution.
Bootstrap, from Twitter

Bootstrap, from Twitter

Posted on: Feb 18th 2012
As a developer I always wanted a CSS framework which will not only ensure that the layout of my application is up to the standard but also it looks good. Something more Web 2.0 and that too very easily. Bootstrap is the answer to all my requirements. It has the power of grids and layout like the 960 grid and on top of that it has its own powerful elements using which I can build nice looking user interface in minutes.
CSS font size and its units explained

CSS font size and its units explained

Posted on: Mar 1st 2011
With the web 2.0 style web designs, minimalist designs etc, one thing is certain – fonts are playing a very important part of the visuals of the site. Gone are those days where big images, boxy buttons were “The thing to do”. And another aspect is the different mediums through which our websites are accessed now. A mobile, PDAs, Notebooks, iPADs and the list goes on. So, the question is how to get the best out of fonts and make them readable across all platforms. Yes, font size plays a very important role and so the unit does matter.

CSS hack/fix for Google chrome and Safari

Posted on: Feb 22nd 2011
This time it is a small one about how to fix a css issue. I was working on the theme of my website when I came across this strange problem. One of my div container with an image had some negative margin. This was working wonders on Firefox and Opera, but somehow Google chrome was not in a mood to co-operate. I could have used some server side code to check the browser and things like that, but then, it would have been an overkill for a small problem which can be take care with CSS hack. By the way, I have not even mentioned about Internet Explorer because personally, I don't support it. If it is working, then well and good :P (a way to say no to IE).