Responsive Images in Practice

62% of the weight of the web is images and that’s growing every day. On small or low-resolution screens, most of that data is waste. This article by Eric Portis gives you the low down on how you can do your part for making the web faster…

VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Clown Car Technique for Responsive Images

We can use media queries within SVG to serve up the right image. The beauty of the “Clown Car” technique is that all the logic remains in the SVG file. It’s called the “Clown Car” technique since we are including (or stuffing) many images (clowns) into a single image file (car)…

VN:F [1.9.22_1171]
Rating: +3 (from 3 votes)

CSS3 Image Styles

If you apply CSS3 inset box-shadow or border-radius directly to an image element, it isn’t rendered properly by the browser. You can fix that by applying the image as a background image. Here’s a set of impressive examples using box-shadow, border-radius and transition to create various image styles…

VN:F [1.9.22_1171]
Rating: +1 (from 3 votes)

Supersize that Background, Please!

With an advertising world keen to use every inch of a medium for brand or product experience, it is becoming increasingly popular to design websites with full-browser backgrounds. Using CSS, this can be achieved quite easily. Just drop a huge background image in a page with one line of code. But which image size will be big enough? Monitors and operating systems have evolved quickly, and as a result there is a wide range of available screen resolutions.

A better solution would be to scale the image to make it fit within different window sizes. Unfortunately, CSS 2.1 has no means of scaling background images. CSS3 backgrounds to the rescue…

VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Snazzy Hover Effects Using CSS

With all these CSS3 effects and tutorials popping up every day that show all the new and wonderful things we can make happen, we sometimes forget about poor little old CSS2.1 and the great potential it still has.With very good browser support, we can do lots of cool things that we know will work in all major browsers. In this tutorial, I will be going over creating flexible advanced hover techniques using CSS2.1 properties…

VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Rounded corners on images, CSS-only

Admit it, even though rounded corners are widely seen as overused, you love playing with border-radius. A common complaint is that you can’t use that CSS3 property on images. Define any value, and the images will still display as nature intended: straight corners.

For a project I’m working on, it would’ve been really nice having certain images displayed with rounded corners, so I started looking at the options…

VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)