pico
pico copied to clipboard
Hide Card Body When Only Header and/or Footer Is Currently Present
I have a site that will dynamically show/hide the body content of a Card, but header
and footer
will remain. It would be nice if, when there is no body content in card, that there were no margins on the header or footer so that the card remained flush.
Example: https://jsfiddle.net/leoherzog/q1uoebL5/