View Single Post
Old 06-15-2020, 12:42 PM   #3
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by JSWolf View Post
Code:
 <h2>One <span class="h2">Old Man Arlo’s dogs</span></h2>
Code:
.h2 {
    font-size: larger;
}
That will do what you want.
The current css is doing that, but without the class on the span. The current css is using the "h2 span" combinator which matches spans inside an h2. I'm getting the larger part and I want to make the h2 text even smaller.

Last edited by hobnail; 06-15-2020 at 12:46 PM.
hobnail is offline   Reply With Quote