on 10 June, 2013
This is about a situation where you need to insert a linebreak between successive inline elements. A bit of white-space manipulation and generated content saves the day via pure CSS.
on 1 May, 2013
Multiple views are a useful UI feature to allow users to choose how they wish to browse content on a web application. The most common views are thumbnail, detail and list views. The icons for the same are pretty straightforward. Of course, in the spirit of resolution independence, I was dead against using raster graphics, so PNG and JPG file formats went out of the window.
on 31 January, 2013
at low tide, the rocks create little tide pools in the ocean.. as pretty as the wading pools in the grass today. as you've probably figured, the sitout's a great place for scenic-scapes - tide pools in front of you, wading pools behind! flocks of gulls perch at the line of water unruffled.. to their right is the Afghan church, its steeple like a spinal cord arching for the sun.. there's plenty of pink in the background.. most likely fall colours of the Indian almond tree.
on 28 January, 2013
City farming can greatly reduce the burden of kitchen waste through compost. Greater Mumbai generates about 6000 tonnes of garbage per day, of which only 3-4% is composted. As our landfills choke with filth, one wonders, “Why not compost biodegradable garbage at a local level, rather than burdening the civic system?”
on 14 January, 2013
If you’re using CSS3 properties for graceful degradation, it’s probably fine to drop vendor-prefix support for certain properties. It’s best to educate clients about future maintenance woes and why it’s absolutely fine if Firefox 3.6 users will see square corners and no shadows, as long as you’re not breaking the site's layout.
on 1 January, 2013
Clean up your CSS at the source. Write appropriate classes and group selectors well. Let go of unnecessary vendor prefixes for certain properties. It's ok to use IDs when they're needed for the sweet specificity they proffer. Utilise the power of CSS selectors like nth-of-type, nth-child, siblings and attribute selectors.
on 22 December, 2012
Yesterday, the world did not end. So, today is "Be kind to front-end web developers day". Today, we pretend that Bugs, Internet Explorer 8 and below, Retina Devices and low bandwidth DO NOT EXIST. We pretend that older browsers look like shit on your Web 3.0 site.
on 26 November, 2012
There's a new wave of CSS madness, ushered in by the recent additions to the W3 Filters Specification. An important issue that keeps coming up is the new drop-shadow filter and whether it serves a purpose. We already have the wonderful box-shadow property that allows one to specify a horizontal offset, vertical offset, optional blur radius and optional spread radius. So why another drop-shadow option?
on 24 November, 2012
With CSS filters, you can manipulate your images within your code itself, which makes for interesting possibilities, especially while using transitions or animations. You can blur images, convert them to black-n-white, boost saturation or brightness and more, with just a line of CSS.
on 12 September, 2012
on 5 September, 2012
Here's a simple CSS solution to create those lovely embossed effects on lines and text in your content. I've cooked up a quick demo on a subtle grey background image.
on 15 August, 2012
I needed a blog. I needed it bad. This was my way of giving back to the incredible online web development community and its benevolence. (I still owe a few coders some beers…)
…to write delightful CSS tutorials and invest in the pool of great CSS snippets online.
…to document my forays into all things ecological, spectacular and green.
…share a few recipes with greedy little muffins like me.
…amongst other things…