Property | Description |
border | Shorthand notation for setting all border properties in a single declaration. |
border-bottom | Shorthand notation for setting border bottom properties in a single declaration. |
border-bottom-color | Sets the color of an element’s bottom border. |
border-bottom-left-radius | Rounds the bottom-left corner of an element. |
border-bottom-right-radius | Rounds the bottom-right corner of an element. |
border-bottom-style | Sets the line style of an element’s bottom border. |
border-bottom-width | Sets the width of an element’s bottom border. |
border-color | Shorthand notation for setting all border colors in a single declaration. |
border-image | Draws an image around a given element. |
border-image-outset | Sets the distance by which an element’s border image is set out from its border box. |
border-image-repeat | Defines how images for the sides and the middle part of the border image are scaled and tiled. |
border-image-slice | Divides the image specified by border-image-source into regions. |
border-image-source | Sets the source image used to create an element’s border image. |
border-image-width | Sets the width of an element’s border image. |
border-left | Sets all the properties of an element’s left border in a single declaration. |
border-left-color | Sets the color of an element’s left border. |
border-left-style | Sets the style of an element’s left border. |
border-left-width | Sets the width of an element’s left border. |
border-radius | Rounds the corners of an element’s outer border edge. |
border-right | Sets all the properties of an element’s right border in a single declaration. |
border-right-color | Sets the color of an element’s right border. |
border-right-style | Sets the style of an element’s right border. |
border-right-width | Sets the width of an element’s right border. |
border-style | Sets the style of an element’s top border. |
border-top | Sets all the properties of an element’s top border in a single declaration. |
border-top-color | Sets the color of an element’s top border. |
border-top-left-radius | Rounds the top-left corner of an element. |
border-top-right-radius | Rounds the top-right corner of an element. |
border-top-style | Sets the style of an element’s top border. |
border-top-width | Sets the width of an element’s top border. |
border-width | Sets the width for all sides of an element’s border in a single declaration. |
box-shadow | Adds shadow effects around an element’s frame. |
margin | Sets the margin area on all four sides of an element in a single declaration. |
margin-block | Defines the logical block start and end margins of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-block-end | Defines the logical block end margin of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-block-start | Defines the logical block start margin of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-bottom | Sets the margin area on the bottom of an element. |
margin-inline | Defines the logical inline start and end margins of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-inline-end | Defines the logical inline end margin of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-inline-start | Defines the logical inline start margin of an element, depending on the element’s writing mode, directionality, and text orientation. |
margin-left | Sets the margin area on the left side of an element. |
margin-right | Sets the margin area on the right side of an element. |
margin-top | Sets the margin area on the top of an element. |
padding | Sets the padding area on all four sides of an element in a single declaration. |
padding-block | Defines the logical block start and end padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-block-end | Defines the logical block end padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-block-start | Defines the logical block start padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-bottom | Sets the height of the padding area on the bottom of an element. |
padding-inline | Defines the logical inline start and end padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-inline-end | Defines the logical inline end padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-inline-start | Defines the logical inline start padding of an element, depending on the element’s writing mode, directionality, and text orientation. |
padding-left | Sets the width of the padding area on the left of an element. |
padding-right | Sets the width of the padding area on the right of an element. |
padding-top | Sets the height of the padding area on the top of an element. |