0

How to make oval?

We learnt to make circle by setting border-radius half of div. But how to make oval shape by same trick?

24th Nov 2016, 3:57 PM
Namas Thapa
Namas Thapa - avatar
2 Antworten
+ 2
try something like width: 20px; height: 10px; border: 1px solid #000; border-radius: 5px;
24th Nov 2016, 6:41 PM
Junjie Gono
Junjie Gono - avatar
+ 1
border-radius: 100%
24th Nov 2016, 5:09 PM
Sandeep Chatterjee