css widht fit content or value code example Example: css div width fit content display: inline-block;