LightGreen Box: {width: fit-content}

This is the content of current box.

Current box's width is px

Parent box's width is px