inherit

The inherit value is allowed on every CSS property. It causes the element for which it is specified to take the Computed value of the property from its parent element.

Example

<!DOCTYPE html>
<html>
    <head>
        <style>
            /* make second-level headers green */
            body {
                margin: 100px;
            }
            
            p {
                margin: inherit; /* Inherit 100px from body */
            }
        </style>
    </head>
    <body>
    	The quick brown red fox jumps over the lazy dog
		<p>
			The quick brown red fox jumps over the lazy dog
		</p>
    </body>
</html>