Content > *,
#left-column > * {
padding: 0 .75em;
}
Content > .frame {
padding: 5px;
border: 1px solid #ccc;
}
What does the asterisk and great than sign mean?
Thank you.
Content > *,
#left-column > * {
padding: 0 .75em;
}
Content > .frame {
padding: 5px;
border: 1px solid #ccc;
}
What does the asterisk and great than sign mean?
Thank you.
so Content > * styles any tag contained directly inside the one that has an id=“content”
eg.
<div id=“content”><p><b></b></p><p><i></i></p><img></div>
it applies to the two <p> tags and the <img> tag but not to the <div> <b> and <i> tags.