Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Adding some padding

Let’s start with the padding. CSS has a padding property that you can use to set the same padding for all four sides of the content. You can set this property either to a number of pixels or a percentage of area inside the border. We’ll use pixels and set the padding to 25 pixels.

image with no caption


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial