Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

ellipse
shapes
css

How to create an ellipse in CSS

Educative Answers Team

Draw a simple rectangle. Your choice of height and width, of the rectangle, will dictate the size and shape of the ellipse.

The border-radius refers to the curvature at the corners of the ​shape; it should be set to a very high value (50% to 100%).

An ellipse has been created!

To draw a circle (a special case of ellipses) keep the height and width equal.

RELATED TAGS

ellipse
shapes
css
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring