curved box using javascript code example Example: how to round the corners of a div outline in css div { outline: auto; outline-style: round; }