How To Adapt Featured Images To Slider?

Is there a way to automatically adapt featured images to the size of the slider window? I don't like the default way.
And what is the CSS to code the image settings because I want the images to not repeat.