Hi Anmol,
You want to add custom styling using the right css classes to target the classes used by the widget. Check the following document on how to add custom styling in Mendix:
https://docs.mendix.com/howto/front-end/customize-styling-new
You can use the inspector built in your browser to see which css classes to target to make the changes you need.