Skip navigation

Style the trigger element

Style the trigger element: Creating Expandable Panels with jQuery
Style the trigger element: Creating Expandable Panels with jQuery

Let’s now style the trigger. Back in our CSS file, we’ll style the trigger to look like a link by adding all the properties necessary, including changing the cursor to a pointer. Then, we'll add a plus sign to indicate there is more content. To keep our HTML as clean as possible, we’ll use a CSS pseudo-element. Then we'll preview the page in the browser.

Resume Transcript Auto-Scroll
Skill Level Intermediate
46m 41s
Duration
29,844
Views
Show More Show Less
Skills covered in this course
Web Web Development jQuery

Continue Assessment

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

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month