Set the margin of the div to "25px". - HTML CSS CSS

HTML CSS examples for CSS:Quiz


Set the margin of the div to "25px".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
div {<!--  w  w w.j a  v a2 s.  c o  m-->
    background-color: pink;
    width: 200px;
    padding: 25px;
    border: 25px solid navy;
    margin: 25px;

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


Related Tutorials