<!DOCTYPE html>
<html>
    <head>
        <style>
            #foo {
                opacity: 0.5;
                background-color: red;
                height: 100px;
            }
        </style>
    </head>
    <body>
        <div id="foo"></div>
    </body>
</html>
