Textarea - setting the number of lines to show

Does any know a simple way to set have many lines I want my textarea to show on screen (prior to showing the scroll bar within the textarea)? I can do it via CSS, but changing those properties isn’t a very clear nor elegant solution. Thanks!