Creating an oval looking shape using css.
For myself, to remember later. The percentage in border-radius is key. Not at all cross-browser.
.oval {
width: 200px;
height: 400px;
border-radius: 100%;
border: 1px solid #DDD;
}
Result: http://jsfiddle.net/VjVRP/2/
Written by Kristoffer Klintberg
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#