Skip navigation

Combining, reusing, and resetting counters

Combining, reusing, and resetting counters: Design the Web: Using Counters and Resets in CSS
Combining, reusing, and resetting counters: Design the Web: Using Counters and Resets in CSS

Now we will combine, reuse and set the counter in our page. Since we want the figure caption to always reflect the number in our heading, we can remove the increment from figure and reuse the myCourses content. Then we'll reset the headings, so after the H2 tag, the heading reset. In order reset both the headings and figure captions, we’ll put both in the counter-reset property.

Resume Transcript Auto-Scroll
Skill Level Intermediate
16m 38s
Duration
10,126
Views
Show More Show Less
Skills covered in this course
Web Web Design Projects CSS

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now