Set the border of the div to "25px solid navy". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the border of the div to "25px solid navy".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--  w w  w .  j  av  a2s.c  o  m-->
    background-color: pink;
    width: 200px;
    padding: 25px;
    border: 25px solid navy;
}
</style>
</head>
<body>

<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>

</body>
</html>

Related Tutorials