It’s dead simple:
…(unless you’re using the legacy responsive engine, in which case you’ll have to use some custom code to do it)
Here’s a super-simple demo if you’re still not sure:
RG Rounded Pills