O'Reilly logo

Responsive Web Design with HTML5 and CSS3 by Ben Frain

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

Summary

In this chapter we've used a broader selection of CSS3's new features. CSS3's background gradients have enabled us to create some great looking background effects with pure code. We even used them to create background patterns. We've also learned how to use text-shadows to create an embossed effect on text and box-shadows to add drop-shadow effects to the outside and inside of elements.

When designing responsively, creating these aesthetic effects with pure CSS3 is a huge bonus; it means elements will not break out of any constraints usually associated with more resource heavy and inflexible images. That said, there are times when the use of images is unavoidable. But CSS3 gives us greater flexibility here too. For example, in this chapter ...

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