Border-shape-ellipse-height
From Frontal Wiki
| This page is PENDING |
Contents |
Purpose
This style sets the height of the rounded corner of a "rounded rectangle" border-shape.
Value
The border-shape-ellipse-height style accepts positive pixel values as well as percentage values. The default value is 0.
border-shape-ellipse-height: 10%;
Remarks
The "rounded rectangle" value must be used in conjunction with both border-shape-ellipse-width and border-shape-ellipse-height styles.
Example
Here is an example of a div with a blue border. The border-shape has been set to "ellipse". Notice that the shape of the border has been affected, but not the shape of the div itself (the red square):
<style> div { margin: auto; border-width: 40px; border-alpha: .5; border-shape: rounded rectangle; border-shape-ellipse-height: 10%; border-shape-ellipse-width: 15%; border-color: blue; } </style> <div style="width: 200px; height: 200px; background-color: red;"/>
Can Be Applied To
This style can be applied to: