Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Add a class called "active" or similar, and write your css to target the element when that class is present.

    .element.active {
        color: red;
        font-size: 30px;
        font-weight: 700;
    }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: