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

Custom borders

Just like padding and margins, in HTML you either have a border all the way around something or you don't. Also, you're limited to what you can apply a border to.

CSS allows you to put a border in just the place you want it. If you want just a top border, set border‐top values, and you'll have only a top border. You can also apply borders to many more types of elements, such as heading tags and paragraphs. CSS borders also have more values to choose from. Designers can choose colors, positioning, thickness . . . and some browsers support type (solid lines, dotted lines, double lines, and so on).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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