CSS Shorthand Guide - Part 5 (Margin and Padding) I am Going Green. What about You?
Apr 15

Outline

Quite frankly, this property has dropped off the existence of the design radar. Mainly because of lack of browsers supporting this CSS 2.1 standard (yep, it’s an actual property), but nonetheless, it too has a shorthand property. This property follows the exact same (or same exact - they mean the same thing) specification as the ‘border’ shorthand property. But, for purposes of this being a Guide, it must be here. So:

outline properties

element {
outline-width: number+unit;
outline-style: (numerous);
outline-color: color || #hex || (rgb / % || 0-255);
}

Outline written as shorthand:

outline shorthand property

element {
outline:3px dotted gray;
}

\\ tags: , , , , , , , , , , , , , , , , , ,

Bookmark this article! [?]

BlinkbitsBlinkListsBlogLinesBlogmarksBuddymarksCiteULikeCo.mmentsDel.icio.usDiggDiigo

FacebookFarkFeed Me LinksFurlGoogleGraveeLinkagogoma.gnoliaNetvouzNewsvine

OnlyWirePropellerRawsugarRedditRojoSimpySlashDotSphinnSpurlSquidoo

StumbleUponTailrankTagglyTagtoogaTechnoratiYahoo

Leave a Reply