Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Number o flines of typography element react material

<Typography
    sx={{
        display: '-webkit-box',
        overflow: 'hidden',
        WebkitBoxOrient: 'vertical',
        WebkitLineClamp: 3,
    }}
    variant="body1">
    {longText}
</Typography>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Number #flines #typography #element #react #material
ADD COMMENT
Topic
Name
8+4 =