Grow your CSS skills. Land your dream job.

form textarea doesn't resize on media-queries

  • # March 28, 2014 at 12:24 pm

    I have a contact form, it’s a drupal module and I can’t resize the textarea with media-queries. I have set a max-width and the whole page resizes beautifully except the textarea!
    I have made a pen but just FYI I can either set the textarea size manually or let it set by default in drupal so I need to force it to resize with CSS.

    http://codepen.io/GroovyMotion/pen/ybrzt/

    Thanks in advance!

    # March 28, 2014 at 1:36 pm

    Try to simplify things.

    http://codepen.io/drainpip/pen/tBvco

    Basic premise, used the wrapper instead of the textarea to do the media queries.

    # March 28, 2014 at 1:56 pm

    Interesting! I have tried but not with width and max-width combined!
    Thanks again @shaneisme

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".