home.social

#maxheight — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #maxheight, aggregated by home.social.

  1. This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

    stackoverflow.com/a/60286469

    (Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

    #web #dev #tip #CSS #resize #maxHeight

  2. This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

    stackoverflow.com/a/60286469

    (Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

    #web #dev #tip #CSS #resize #maxHeight

  3. This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

    stackoverflow.com/a/60286469

    (Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

    #web #dev #tip #CSS #resize #maxHeight

  4. This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

    stackoverflow.com/a/60286469

    (Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

    #web #dev #tip #CSS #resize #maxHeight

  5. This is a very neat trick to unset max-height when an HTML element with resize='vertical' set in CSS is resized. So you can have elements initially displayed with a max-height but then resized beyond it:

    stackoverflow.com/a/60286469

    (Should work as is for resize='block' and with the selector tweaked to use "width" for horizontal/inline.)

    #web #dev #tip #CSS #resize #maxHeight