Sounds like maybe you’ve seen this part of the docs already? Anvil Docs | Themes and Styling
Here’s an example I did a while back, based on a CSS trick I found online somewhere (and should have cited, in retrospect): Hangouts-like Chat Design
You can also find other examples in the Forum or in the templates and example builds here: Anvil | Examples