Slick Slider Padding & Margin

I’m using slick slider jQuery library to show post slider on my homepage. I want to add space between two slick carousel items. but there is no options for padding or margin. when i check the slick slider demo page. they presented the demo with spaces. so i confused. I checked the slick slider documentation too but they didn’t mentioned anything about padding or margin.
when i inspect the slick slider demo. they are used css for space between 2 items. I expected the solution for padding or margin as option using jQuery but got the solution by css code.