Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Switch grid function

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41778
    wragen22
    Member

    Ok, not sure if this is possible but basically I have a class with a width of 50% and I have a jquery function that expands the class to show more text. Is it posiblé to override the class width with a deferent percentage? To 100%?

    #119957
    chrisburton
    Participant

    You mean something like

    $(‘.class’).css(‘width’, ‘100%’)

    #119959
    Dhaupin
    Participant

    If .class is 50% then you can use div.class as the override for 100%

    Dunno if f that helps your script but that’s how you would override that class by granular means

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.