12 Oct

Awesome jquery accordion

06 Oct

Chosen: make select boxes better

28 Jul

Get fluid images to keep their aspect ratio using jQuery

$(window).bind("load resize", function() {
 var fluid = $(".container").width();   
 $(".container img").width(fluid).height("auto");   
});

This bit of code is specially useful when working with fluid layouts, where container’s width vary depending on viewers screen resolution. The key here is ‘.height(“auto”)’. Without it, we would get the same result as if we used “width: 100%” on css. Keep reading

24 Jul

Shading with CSS text-shadows

21 Jul

css1k – The beauty in CSS design

21 Jul

Seamless responsive photo grid

21 Jun

Interactive CSS + jQuery techniques