Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Tabs : active element #135

Description

@N445

I have a tab structure like that:

<ul>
    <li>
        <a>
            <img>
        </a>
    </li>
    <li>
        <a>
            <img>
        </a>
    </li>
</ul>

When I click on "img", the "active" class is added on the "a", and when I click on the "a", the "active" class is added on the "li".

The class is always added on the parent element. How do I make sure the element is always on a specific element?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions