css access span class inside div code example Example: css access span class inside div .yourDiv span.yourSpan { /* your style */ }