<!DOCTYPE html>
<html> <head> <style> div { border: 2px solid black; margin: 70px 70px 50px; background-color: lightblue; } </style> </head> <body> <h2>The margin shorthand property - 3 values</h2> <div>This div element has a top margin of 25px, a right and left margin of 50px, and a bottom margin of 75px.</div> dnfgdfhfdhhdfhdh <hr> </body> </html> |