uses display to make elements visibile