• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter Sixteen. A CSS Redesign > Creating Color Bars

Creating Color Bars

Still studying the rules that give rise to the sidebar, notice that we're painting a warm gray-green background color (#bdcdbd) and positioning a solid 10px #95a580 (medium gray-green) color block at the top via the CSS border-top property, which can be used to create a color block as tall as you would like:

border-top: 10px solid #95a580;


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint