Skip to content

Truly independent web browser

618 B
Raw Blame
<!DOCTYPE html>
<style>
    p {
        font-size: 20px;
        line-height: 1.5;
        margin: 10px 0;
        color: rgb(0, 0, 200);
    }
    #color-only, #parent, #parent span {
        color: green;
    }
</style>
<div id="container">
    <p id="color-only">An authored color suppresses the default background</p>
    <p id="transparent-background">An authored transparent background is honored</p>
    <p id="current-color">currentColor keeps the text color and suppresses the default background</p>
    <p id="parent">A child inherits the authored color, <span>even with its own text color</span></p>
</div>