CSS Border - Shorthand property

There are many properties to consider when dealing with borders. To shorten the code, it is also possible to specify all the border properties in one property. This is called a shorthand property.The shorthand property for the border properties is "border":

Example
border:5px solid red;

When using the border property, the order of the values are:

  • border-width
  • border-style
  • border-color

It does not matter if one of the values above are missing (although, border-style is required), as long as the rest are in the specified order.

2 comments :

  1. i got well information about css style and its much useful to use in designing part. keep sharing more information. thanks.
    School Webdesign uk | Web design for schools uk

    ReplyDelete
  2. wonderful tips about web designing and much informative. its more helpful to get the how webdesigner makes them growing fast company for this field. i got some ideas from your point but not having clear idea about square space? will you explain about it?
    SAT coaching chennai

    ReplyDelete

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger