Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. H

    HTML & CSS input field does not respect flexbox layout

    Another solution is to wrap the input inside a container. I found this codepen implementing both solutions: https://codepen.io/regic/pen/pyyKbd How can I close this thread as solved?
  2. H

    HTML & CSS input field does not respect flexbox layout

    Hello BGB... I am kind of shocked... If I set a width to the '.input-grow' element now it works... <html> <head> <style> .flex-container { width: 400px; height: 200px; border: 1px solid black; display...
  3. H

    HTML & CSS input field does not respect flexbox layout

    Hello there! I need help! Why is the input growing so much that it overflows the flex container? However, if you comment the input and remove the comment on the '.div-grow' element, this one respects the flexbox layout. In fact, if the 'flex-grow:1' is removed form the input, it still grows so...
Back
Top Bottom