converted px to percentage in CSS