I'm Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with HTML, CSS and SVG. To receive more information, including news, updates, and tips, you should follow me on Twitter or add me on Google+.

my books

Pro CSS3 Animation book coverPro CSS3 Animation, Apress, 2013

my other blogs

Massive Head CanonMassive Head Canon: Intelligent discussion of movies, books, games, and technology.

my projects

The New DefaultsThe New Defaults — A Sass color keyword system for designers.

CSSslidyCSSslidy — an auto-generated #RWD image slider. 3.8K of JS, no JQuery.

Web Developer Reading List: CSS For Images

Using CSS to position, arrange and place images on pages and in backgrounds

Photograph of a woman in a white dress walking the bow of a sunken ship underwater

Web images are modified by CSS in one of four ways: basic positioning and gutters, borders and framing effects, placing images in the background of HTML elements, and filters. The first three are some of the most common applications of CSS.

Goals: place images on web pages and in backgrounds and position them; apply framing effects to images with CSS.

Prerequisites: Introduction to CSS, HTML Images

Total time: 3 hours

  1. Transitioned Image Captions

Optional: read more about creating advanced image matting effects through CSS manipulation of the box model and border-image:

  1. Image Matting Effects
  2. border-image

Background Images

  1. Multiple Background Images
  2. Full-Screen Backgrounds
  3. Fading Background Images

Optional: read about the special considerations necessary to place multiple background images on angles.

Using photographic images of any kind on a web page usually demands some image processing beforehand. In particular, some background images require particular processing techniques before they can be used on a page. It should be emphasized that bitmap editors should only be used for basic, initial processing and optimization; in modern browsers, filter effects are more effectively applied via CSS, rather than being “baked” into the image. It is those CSS filter effects that we’ll be looking at next.

Photograph by Benjamin von Wong, licensed under Creative Commons.

This site helps millions of visitors while remaining ad-free. For less than the price of a cup of coffee, you can help pay for bandwidth and server costs while encouraging further articles.