created way to truncate text with css