<!doctype html> <meta charset=utf-8> <title>CSS Test Reference</title> <style> div { /* No hyphens means the min-content is the whole string in this case */ width: min-content; border: 1px solid green; } </style> <div>2020-12-12</div>