Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<style>
div { width: 150000px; }
span {
display: grid;
min-width: min-content;
grid-template-columns: repeat(auto-fit, minmax(0%, auto) 1px);
}
</style>
<span class="class3">
<div></div>
</span>