|
The W3C specifies a shortcut notation for the outline properties. Instead of setting the properties separately, you can combine them into one property called outline. For example: button {outline: thick solid red;} Outlines are different from borders because they don’t take up space and they don't have to be rectangular. Outlines are also the same on every side; you don’t get outline-left, outline-top and so on. |
More information outline shortcut property |