Today I learned:
display: flow-root
which solves a real problem for me. https://stackoverflow.com/questions/78439601/shrink-border-of-a-html-element-which-shares-space-with-a-floating-element #CSS
Today I learned: display: flow-root which solves a real problem for me. https://stackoverflow.com/questions/78439601/shrink-border-of-a-html-element-which-shares-space-with-a-floating-element #CSS 1 comment
|
@J12t overflow: auto can also fix your issue.