Which CSS declaration is used to create a scrollbar?

(1 point)
Responses

scroll: bar;

scroll: bar;

overflow: scroll;

overflow: scroll;

scroll: overflow;

scroll: overflow;

overflow: bar;

1 answer

The correct CSS declaration used to create a scrollbar is:

overflow: scroll;

This property allows the content to be scrolled when it exceeds the size of its container.