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

Home Forums CSS Input and parent width problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #297347

    Hi everyone!
    I have a problem. I have an element .els with div .number (fixed width) and input .things. I want elements .els and .things to change width when screen width is smaller than 430px. But when I test it in responsive mode in browser, .els have still the same width. I used media queries.
    Please, help me!


    (Untested – on mobile)

    May be due to specificity since #elements .els is greater/more specific than the .els in your media query.

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