adding responsive design to elements