in CSS by
How to use Nesting CSS3?

1 Answer

0 votes
by

Suppose, we want to specify a selector inside of a selector, then we have to use nesting in CSS3.

Example:

p
{
color: black;
text-align: right;
}
.marked
{
background-color: white;
}
.marked p
{
color: orange;
}
...