Give the <div> element rounded corners - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Give the <div> element rounded corners

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--from  ww  w .ja v  a 2 s.  co  m-->
    border-radius: 25px;
    background: #73AD21;
    padding: 20px;
    width: 200px;
}
</style>
</head>
<body>

<div>This is a div element. It has some text.</div>

</body>
</html>

Related Tutorials