Changing pixel dimesntion and style to accept repsponsive changes