Last Updated: February 25, 2016
·
319
· krstffr

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/