DEV Community

rabbitzzc
rabbitzzc

Posted on

use -webkit-line-clamp by className & style in React

demp: https://codesandbox.io/s/clever-diffie-n0lq1?file=/src/App.js
style not works, but className can use.

Top comments (0)