<!DOCTYPE html>
<body>
<div>Flex <input type=file style="display:block">flex</div>
<div>Inline-flex <input type=file style="display:inline-block">inline-flex</div>
<div>Grid <input type=file style="display:block">grid</div>
<div>Inline-grid <input type=file style="display:inline-block">inline-grid</div>
<div>Table <input type=file style="display:block">table</div>
<div>Inline-table <input type=file style="display:inline-block">inline-table</div>
<div>Block <input type=file style="display:block">block</div>
<div>Inline <input type=file style="display:inline-block">inline</div>
</body>