root Selector

root Selector
CSS root Selector reference
The CSS root structural pseudo-class selector ( X:root { } ) is used to target and style the root element in an HTML document.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
:root {
    border:#960 20px dashed;
    background:#099;
}
</style>

0 Response to "root Selector"

Post a Comment