O'Reilly logo

The CSS3 Anthology, 4th Edition by Rachel Andrew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3Images and Other Design Elements

The Web is filled with sites featuring beautiful, rich graphic design that takes advantage of the power of CSS. In this chapter, we’ll look at how to use CSS and images to create gorgeous effects. We’ll be using images more in subsequent chapters, but, as with most of the solutions in this book, feel free to experiment to see what unique effects you can create.

How do I add borders to images?

Photographic images, which might be used to illustrate an article or be displayed in a photo album, look neat when they’re bordered with a thin line. However, it’s a time-consuming process to open each image in a graphics program in order to add borders, and if you ever need to change a given border’s color or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required