Advertisement

Using Borders and Backgrounds

  • Adam Freeman

Abstract

In this chapter, I introduce the properties that you can use to apply background and borders to an element. These are very commonly used features that have been enhanced in CSS3. For example, you can now create borders with curved edges, use images for borders, and create drop shadows for elements. These might seem like simple things, but their omission from CSS has led to endless efforts to provide these features in other ways, with mixed success. Table 19-1 provides the summary for this chapter.

Keywords

Background Color Image Border Horizontal Radius Background Property Border Width 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2011

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations