group Combinator

group Combinator
CSS group Combinator reference
The CSS group combinator ( X, Y { } ) is used to target and style a comma separated list of elements in a grouped fashion. This allows targeting a group of elements by their native type or by their id and class names.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
h2, p {
    background:#CAFBE0;
}
</style>
<h2>Some Stuff</h2>
<p>Stuff inside my paragraph...</p>
<h3>More Stuff</h3>
<p>Stuff inside my paragraph...</p>
 

Some Stuff

Stuff inside my paragraph...

More Stuff

Stuff inside my paragraph...

0 Response to "group Combinator"

Post a Comment