More Properties Of CSS

More Properties Of CSS

Overflow Property

CSS overflow property controls what happens with content that is too big to fit in an area.

Overflow Values:

  1. visible

  2. Hidden

  3. Scroll

  4. Auto

Hidden

So this property hides all the stuff that goes into overflow simply.

Scroll

This property adds a scroll bar so we can scroll to view the part which goes into overflow.

vertical and horizontal scroll bars are added.

Auto

This property adds the necessary scroll bars.


Float Property

CSS float property specifies how an element must float.

Float Values

  1. Left

  2. Right

  3. None

Inherit

Right

Left

None

It reverts as if there is no float applied.